git-annex/Utility/LockFile
Joey Hess 2e44da5c46
clean up side lock files when we're done with them
There's a potential race, but it's detected and just results in the other
process failing to take the side lock, so possibly retrying one second
later on. The race window is quite narrow so the extra delay is minor.

Left the side lock files mode 666 because an interruption can leave a side
lock file created by another user for a shared repository. When this
happens, the non-owning user can't delete it (+t) but can still lock it,
and so the code falls back to acting as it did before this commit.
2015-11-16 11:36:11 -04:00
..
LockStatus.hs module for pid lock files with atomic stale lock file takeover when possible 2015-11-12 15:39:49 -04:00
PidLock.hs clean up side lock files when we're done with them 2015-11-16 11:36:11 -04:00
Posix.hs pid locking configuration and abstraction layer for git-annex 2015-11-12 17:50:34 -04:00
Windows.hs need more polymorphism 2015-05-22 13:50:37 -04:00