On 25/03/2024 13:45, Max Gautier wrote:
On Mon, Mar 25, 2024 at 10:06:29AM +0000, phillip.wood123@xxxxxxxxx wrote:
It is possible to wait on a lock file but I'd be worried about building up
an endless queue of processes if the process holding the lock file crashed
leaving it in place without anyway to automatically remove it.
Side question: we can't use flock(2) in git, or lockf(3) ? The latter is
in POSIX.
We need something cross-platform, I don't think there is any appetite to
move away from our current lock file implementation. We can think about
how to handle concurrent maintenance jobs once these patches are merged.
Best Wishes
Phillip