Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nq: check d_name fits into newestlocked (our filenames always will) | Leah Neukirchen | 2021-03-13 | 1 | -1/+2 |
| | |||||
* | nq: revamp waiting loop to avoid busy loops in contested cases | Leah Neukirchen | 2021-03-13 | 1 | -18/+27 |
| | | | | | | | | | | | | | | | | | As reported in #37, the current rewind-loop has the issue of waiting for a lock on the first file that is locked, but it could be detected as being locked by another process that also just wants to check this file. As both processes rewind the dir and retry in this case, this can yield a busy loop. Instead, find the newest locked file and wait for that. This should result in most nq processes waiting for different locks, so this kind of synchonization cannot appear. In theory, removing the rewinddir would be enough, as later nq runs should not result in enqueuing earlier jobs, but it's better to be safe and check there are no more locked files before we launch our job. | ||||
* | fq: fix fd leak | Leah Neukirchen | 2021-02-28 | 1 | -1/+3 |
| | | | | Thanks to @duncaen for reporting. | ||||
* | README.md: fix minor 'manager'->'manage' typo | Tom | 2021-02-04 | 1 | -1/+1 |
| | | | | Closes: #34 [via git-merge-pr] | ||||
* | fq.1: document kqueue usage | Leah Neukirchen | 2021-01-31 | 1 | -1/+4 |
| | |||||
* | README: add basic comparison to task-spooler | Alexandre Rossi | 2021-01-30 | 1 | -3/+8 |
| | | | | Closes: #32 [via git-merge-pr] | ||||
* | fq: add kevent/kqueue support | Pawel Biernacki | 2021-01-30 | 1 | -1/+41 |
| | | | | Closes: #29 [via git-merge-pr] | ||||
* | README.md: tweaks | Leah Neukirchen | 2021-01-27 | 1 | -4/+4 |
| | |||||
* | README.md: add comparison to `at` and `batch` | Leah Neukirchen | 2021-01-27 | 1 | -0/+17 |
| | |||||
* | NEWS.md: update for 0.3.1 v0.3.1 | Leah Neukirchen | 2018-03-07 | 1 | -0/+4 |
| | |||||
* | nq: don't define _XOPEN_SOURCE | Leah Neukirchen | 2018-03-07 | 1 | -2/+0 |
| | | | | | This hides LOCK_* on FreeBSD and OpenBSD, and is not needed anyway. Closes #26. | ||||
* | NEWS.md: update for 0.3 v0.3 | Leah Neukirchen | 2018-03-06 | 1 | -1/+3 |
| | |||||
* | nq: write_execline: avoid unnecessary quoting | Leah Neukirchen | 2018-03-02 | 1 | -7/+17 |
| | |||||
* | nq: fix -w and -t without arguments | Leah Neukirchen | 2018-01-31 | 1 | -1/+1 |
| | |||||
* | nq: properly check for empty command lines | Leah Neukirchen | 2018-01-31 | 1 | -1/+1 |
| | | | | | | | `nq -q` could trigger a segfault before. Found by Leonardo Taccari. Fixes #25. | ||||
* | nq: add -c to clean job file when process succeeded | Leah Neukirchen | 2018-01-18 | 3 | -5/+22 |
| | |||||
* | add NEWS.md v0.2.2 | Leah Neukirchen | 2017-12-21 | 1 | -0/+18 |
| | |||||
* | fq: pass full path to lock file to inotify_add_watch | Sebastian Reuße | 2017-12-14 | 1 | -1/+8 |
| | | | | | | | | When NQDIR is set, we cannot expect the lock files to be found under the working directory. Fixes #22 Closes: #23 [via git-merge-pr] | ||||
* | COPYING: fix address really | Leah Neukirchen | 2017-12-05 | 1 | -1/+1 |
| | |||||
* | COPYING: fix address | Leah Neukirchen | 2017-11-24 | 1 | -4/+2 |
| | |||||
* | README.md: add NetBSD 7.0.2. | Leah Neukirchen | 2017-10-13 | 1 | -1/+1 |
| | |||||
* | style | Leah Neukirchen | 2017-08-31 | 2 | -3/+3 |
| | |||||
* | fq: fix qflag initialization v0.2.1 | Leah Neukirchen | 2017-04-27 | 1 | -1/+1 |
| | | | | Fixes #21. | ||||
* | Leahize v0.2 | Leah Neukirchen | 2017-04-26 | 7 | -9/+7 |
| | |||||
* | fq: add -n to not wait | Christian Neukirchen | 2016-07-24 | 2 | -3/+13 |
| | |||||
* | README.md: nq works on SmartOS now | Christian Neukirchen | 2016-03-21 | 1 | -1/+2 |
| | |||||
* | nq: add dprintf stub for Solaris | Christian Neukirchen | 2016-03-21 | 1 | -0/+22 |
| | |||||
* | nq, fq: fall back on when O_DIRECTORY is not defined | Christian Neukirchen | 2016-03-21 | 2 | -1/+11 |
| | |||||
* | nq.1: manpage tweaks | Christian Neukirchen | 2016-01-04 | 1 | -4/+6 |
| | |||||
* | _fq: rename to _nq for consistency. | Christian Neukirchen | 2015-09-20 | 1 | -0/+0 |
| | |||||
* | README.md: explain why flock is used | Christian Neukirchen | 2015-09-20 | 1 | -1/+3 |
| | |||||
* | tests: try to sleep out some race conditions in the test suite. | Christian Neukirchen | 2015-09-04 | 1 | -0/+2 |
| | |||||
* | add COPYING v0.1 | Christian Neukirchen | 2015-08-28 | 1 | -0/+8 |
| | |||||
* | nq.1: add examples | Christian Neukirchen | 2015-08-28 | 1 | -0/+45 |
| | |||||
* | fq: style | Christian Neukirchen | 2015-08-28 | 1 | -3/+3 |
| | |||||
* | fq: open dirfd with O_DIRECTORY to fail early | Christian Neukirchen | 2015-08-28 | 1 | -2/+4 |
| | |||||
* | nq: open dirfd with O_DIRECTORY to fail early | Christian Neukirchen | 2015-08-28 | 1 | -1/+1 |
| | |||||
* | nq: mkdir $NQDIR | Christian Neukirchen | 2015-08-28 | 1 | -0/+7 |
| | |||||
* | fq: style fixes | Christian Neukirchen | 2015-08-27 | 1 | -2/+2 |
| | |||||
* | README.md: clarify what happens when gettimeofday runs backward | Christian Neukirchen | 2015-08-27 | 1 | -1/+2 |
| | |||||
* | README.md: add some examples | Christian Neukirchen | 2015-08-27 | 1 | -0/+34 |
| | |||||
* | nq: error handling for dup2 | Christian Neukirchen | 2015-08-27 | 1 | -2/+5 |
| | |||||
* | nq: fsync after rename | Christian Neukirchen | 2015-08-27 | 1 | -0/+3 |
| | | | | | For details, see https://groups.google.com/forum/#!topic/comp.unix.programmer/AM2V83RCOVE | ||||
* | README.md: document make install | Christian Neukirchen | 2015-08-27 | 1 | -0/+9 |
| | | | | Closes #11. | ||||
* | Makefile: check depends on all | Christian Neukirchen | 2015-08-27 | 1 | -1/+1 |
| | |||||
* | Makefile: add make install rule | Christian Neukirchen | 2015-08-27 | 1 | -5/+20 |
| | |||||
* | nq.1: typos | Christian Neukirchen | 2015-08-25 | 1 | -2/+2 |
| | |||||
* | tq.1: lint | Christian Neukirchen | 2015-08-25 | 1 | -3/+4 |
| | |||||
* | Add man pages | Christian Neukirchen | 2015-08-25 | 3 | -0/+319 |
| | |||||
* | README: typo | Christian Neukirchen | 2015-08-25 | 1 | -1/+1 |
| |