git-annex/Utility/LockPool
Joey Hess ae4c56b28a
Revert "fix too early close of shared lock file"
This reverts commit 66b2536ea0.

I misunderstood commit ac56a5c2a0
and caused a FD leak when pid locking is not used.

A LockHandle contains an action that will close the underlying lock
file, and that action is run when it is closed. In the case of a shared
lock, the lock file is opened once for each LockHandle, and only
the one for the LockHandle that is being closed will be closed.
2021-12-06 12:51:28 -04:00
..
LockHandle.hs avoid concurrent threads trying to take pid lock at same time 2021-12-01 17:14:39 -04:00
PidLock.hs avoid concurrent threads trying to take pid lock at same time 2021-12-01 17:14:39 -04:00
Posix.hs avoid concurrent threads trying to take pid lock at same time 2021-12-01 17:14:39 -04:00
STM.hs Revert "fix too early close of shared lock file" 2021-12-06 12:51:28 -04:00
Windows.hs fix build on windows 2021-12-03 14:08:12 -04:00