patch applied (packages/base): This patch adds a timeout function
to the base libraries. Trac #980 is
Simon Marlow
simonmar at microsoft.com
Mon Mar 5 06:17:13 EST 2007
Fri Jan 26 14:26:15 PST 2007 Peter Simons <simons at cryp.to>
* This patch adds a timeout function to the base libraries. Trac #980 is
concerned with this issue. The design guideline for this implementation
is that 'timeout N E' should behave exactly the same as E as long as E
doesn't time out. In our implementation, this means that E has the same
myThreadId it would have without the timeout wrapper. Any exception E
might throw cancels the timeout and propagates further up. It also
possible for E to receive exceptions thrown to it by another thread.
A ./System/Timeout.hs
More information about the Cvs-libraries
mailing list