You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solaris lacks flock(2), and it seems lockf(3)/fcntl(2) is better anyway for more reasons (can lock over NFS and things like that, not that we really care).
Dunno about support on all the OSs, though, our current targets (FreeBSD, Linux, Solaris) all support it. OS X seems to like fcntl(2) more as well, and Windows.. well it's not like that thing supports either.
The text was updated successfully, but these errors were encountered:
Solaris lacks flock(2), and it seems lockf(3)/fcntl(2) is better anyway for more reasons (can lock over NFS and things like that, not that we really care).
This is an interesting (and long) man 2.0 page (aka StackOverflow answer) on the matter:
http://stackoverflow.com/questions/22409780/flock-vs-lockf-on-linux
Dunno about support on all the OSs, though, our current targets (FreeBSD, Linux, Solaris) all support it. OS X seems to like fcntl(2) more as well, and Windows.. well it's not like that thing supports either.
The text was updated successfully, but these errors were encountered: