On Sun, Aug 30, 2015 at 9:58 AM, Niklas Hambüchen <mail@nh2.me> wrote:
I would even be surprised if there is a single Haskell program out there
that uses this; I know of one that uses file locking, bu that's using
fnctl style locks.

Also note that many systems emulate flock() with fcntl() locks, so that trick is nonportable anyway. (Linux used to do that, but stopped; unless you're holding onto a system with a pre-2.0 kernel or a weird Linux distribution whose glibc has been modified to do emulation, you should have real flock().)

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net