[Haskell-cafe] fcntl locks, executeFile and threaded runtime

Brandon Allbery allbery.b at gmail.com
Sat Oct 26 00:03:54 UTC 2013

On Fri, Oct 25, 2013 at 7:49 PM, diego souza <dsouza at c0d3.xxx> wrote:

> Yeah, it was my first thought too, but I didn't see anything like this
> in the strace output.
> What I do see, though, are two additional forks when using -threaded
> that seems that die early. This could very well explain why I'm
> loosing the lock.

If this is Linux then you also want to track clone() calls. It's possible,
depending on Linux kernel and/or glibc version, that you are seeing threads.

brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131025/10afc246/attachment.html>

More information about the Haskell-Cafe mailing list