News for hackers. Stuff that matters.
Re:“POSIX advisory locks are broken by design” by Dylan16807 on Wednesday July 25, 2018 @05:57PM (#17613272)
Being unable to control a lock from multiple threads isn't a great API either. Per file descriptor^H^Hion is closer to what I'd call ideal. It gives you a locking context that can map m:n to threads. Even if it is a bit fussy with things like fseek.

There are no comments on this comment yet.