
14 Oct
2004
14 Oct
'04
2:52 a.m.
On Thu, Oct 14, 2004 at 12:36:37AM +0200, Peter Simons wrote:
Benjamin Franksen writes:
milliseconds (1/10^6 seconds)
Duh! I meant microseconds of course. Thanks for catching that.
Did you consider using floating-point Timeout type, with its values representing seconds, possibly fractional? This could have some negative performance impact, but would be elegant IMHO. I prepared a darcs patch with such changes, added timeoutDelay which is analogous to threadDelay, but works with Timeout values, and made threadDelay immune to delays which overflow Int with number of microseconds (2^31 microseconds is not such long). Feel free to reject it :) Best regards, Tom -- .signature: Too many levels of symbolic links