simonmar 2006/08/08 07:47:17 PDT
Modified files: (Branch: ghc-6-4-branch)
testsuite/timeout timeout.hs
Log:
merge:
Thu Mar 23 13:40:34 GMT 2006 Simon Marlow <[EMAIL PROTECTED]>
* attempt to work around restrictions with fork() & pthreads
In the child process, call exec() directly instead of using
System.Cmd.system, which involves another fork()/exec() and a
non-blocking wait. The problem is that in a forked child of a
threaded process, it isn't safe to do much except exec() according to
POSIX. In fact calling pthread_create() in the child causes the
pthread library to fail with an error on FreeBSD.
Revision Changes Path
1.1.2.5 +12 -5 fptools/testsuite/timeout/timeout.hs
_______________________________________________
Cvs-fptools mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-fptools