3 ms·
Nit: Probably https://man7.org/linux/man-pages/man1/flock.1.html https://man7.org/linux/man-pages/man1/flock.1.html (shell command, not the underlying libc func
by yjftsjthsd-h 1y ago
Nit: Probably https://man7.org/linux/man-pages/man1/flock.1.html https://man7.org/linux/man-pages/man1/flock.1.html (shell command, not the underlying libc function)
- anitil 1y agoThis was my first thought and I suppose flock(1) could be used to recreate a lot of this. But it does come with some other quality-of-life improvements like being able to list all currently-used locks, having a lock holdable by N processes etc.