Y
Hacker News
new
|
ask
|
show
|
jobs
by
yjftsjthsd-h
330 days ago
Nit: Probably
https://man7.org/linux/man-pages/man1/flock.1.html
(shell command, not the underlying libc function)
1 comments
anitil
330 days ago
This 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.
link