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

Brandon Allbery allbery.b at gmail.com
Fri Oct 25 17:28:23 UTC 2013


On Fri, Oct 25, 2013 at 1:20 PM, Donn Cave <donn at avvanta.com> wrote:

> >
> > On Fri, Oct 25, 2013 at 11:52 AM, Donn Cave <donn at avvanta.com> wrote:
> >
> >> But I don't see how executeFile could
> >> make any difference, in that scenario.
> >
> > Look for fcntl(fd, FD_CLOEXEC, 1) calls?
>
> Oh, that would be heinous!
>

It would be because I got that completely wrong. fcntl(fd, F_SETFD,
FD_CLOEXEC). sigh.

-- 
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/9c7e86a5/attachment.html>


More information about the Haskell-Cafe mailing list