diff options
author | Duncan Overbruck <mail@duncano.de> | 2021-03-01 00:45:04 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2021-03-13 16:27:55 +0100 |
commit | 8cf40887c7b68f0772a46080fb265e67c7f43b36 (patch) | |
tree | b486025699f72f1dbe8b5edf91e944d03861a350 /Makefile | |
parent | 1d402f5fbbfd74be8369765ed8b4d8f664ba4996 (diff) | |
download | nq-8cf40887c7b68f0772a46080fb265e67c7f43b36.tar.gz nq-8cf40887c7b68f0772a46080fb265e67c7f43b36.tar.xz nq-8cf40887c7b68f0772a46080fb265e67c7f43b36.zip |
nq: use shared locks when waiting for other lockfiles
The nq process itself will hold an exclusive lock on its lock file, the other nq processes will now use a shared lock to test if the previous queue item is still locked. By using shared locks, multiple nq processes testing the same shared lock don't interfere with other nq processes checking for locks.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions