
26 Jan
2001
26 Jan
'01
10:09 a.m.
Hello everyone, I thought I?d return to more earthly issue than discovering bugs in signal handlers etc. :)
I?ve been looking for a way to suspend on an empty channel for only a limited time. So I came up with a solution which involves dupChan (which is currently broken as stated in Meurig?s bug-report) and unGetChan:
How about timeout N . readChan where timeout is defined according to our Asynchronous Exceptions paper (see http://www.haskell.org/~simonmar/papers/async.ps.gz). Cheers, Simon
8883
Age (days ago)
8883
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow