summaryrefslogtreecommitdiff
path: root/src/libstddjb/fd_lock.c
AgeCommit message (Collapse)Author
2024-04-16 Tentative support for old MacOS with no O_CLOEXECLaurent Bercot
Also add a prototype for gol, not finished yet. Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-05-14 Cosmetic fixesLaurent Bercot
2020-12-07 Some trivial bugfixes and cleanupsLaurent Bercot
2020-11-29 Revamp lock primitives; prepare for 2.10.0.0 instead of 2.9.4.0Laurent Bercot
flock() doesn't have a way to test for a lock without taking it. lockf() doesn't have shared locks. The only way to have both is fcntl(). So I rewrote all the locking stuff around fcntl(), and used the opportunity to change the interface. The point of changing the interface is to stop having to bother with the old one, so to hell with compatibility, let's just do a major bump.