cvs commit: fptools/testsuite/timeout Makefile timeout.hs
Simon Marlow <[email protected]> Thu, 4 Aug 2005 05:22:17 -0700
| Newsgroups | gmane.comp.lang.haskell.cvs.fptools |
|---|---|
| Message-ID | <[email protected]> |
simonmar 2005/08/04 05:22:17 PDT
Modified files:
testsuite/timeout Makefile timeout.hs
Log:
A better timeout. This one starts a new session for the child
process, and attempts to kill the entire group when the time expires
(previously we only killed the direct child, if the child itself had
spawned more processes these would continue to run).
The new scheme is only for Unix, presumably we have to do something
different on Windows.
Code partly from Ian Lynagh.
Revision Changes Path
1.2 +4 -0 fptools/testsuite/timeout/Makefile
1.2 +69 -25 fptools/testsuite/timeout/timeout.hs