aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-12-17 18:31:00 +0100
committerNaïm Favier <n@monade.li>2022-12-27 15:58:14 +0100
commit81c3f99b3668a1ea6a37792a5bcc3bc6f39729a2 (patch)
treef426fb2c421c47becc0087fc14b0b32cfa2ccb44 /Makefile
parent26c7602c390f8c511f326785b570918b2f468892 (diff)
Release shared lock before acquiring exclusive lock
In principle, this should avoid deadlocks where two instances of Nix are holding a shared lock on big-lock and are both waiting to get an exclusive lock. However, it seems like `flock(2)` is supposed to do this automatically, so it's not clear whether this is actually where the problem comes from.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions