aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstddjb/fd_lock.c
Commit message (Collapse)AuthorAgeFilesLines
* Cosmetic fixesLaurent Bercot2021-05-141-2/+2
|
* Some trivial bugfixes and cleanupsLaurent Bercot2020-12-071-0/+1
|
* Revamp lock primitives; prepare for 2.10.0.0 instead of 2.9.4.0Laurent Bercot2020-11-291-0/+25
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.