Taral taralx at
Fri Mar 31 17:29:59 EST 2006

On 3/31/06, John Meacham <john at> wrote:
> >   - I wouldn't include threadWaitRead, threadWaitWrite,
> >     or threadDelay at all.  These can all be implemented using
> >     FFI, so don't belong in the concurrency library.  Their
> >     presence is largely historical.
> They all have special implementations on a 'epoll' based system.
> threadDelay turns into the timeout parameter to select, waitread/write
> turn into the basic building blocks of your epoll wait-list. We
> definitly want these in the interface as primitves.

And they're all a pain because they don't take sets of files, only
single ones. Can we please have something like:

threadWait :: Timeout -> [Handle] -> IO ?

Taral <taralx at>
"You can't prove anything."
    -- Gödel's Incompetence Theorem

More information about the Haskell-prime mailing list