On Fri, Jul 11, 2003 at 08:39:54AM +0200, Rafael Martinez Torres wrote:
> (piper,pipew) <- createPipe
> piperHandle <- fdToHandle(piper)
> threadWaitRead ( fdToInt(handleToFd(piperHandle)) )
> message <- hGetLine piperHandle --or whatever.

There's no need to call threadWaitRead, Haskell's RTS will take care of
Non-Blocking IO for you.
-- 
"Gemischte Materialien // Fr�her: Restm�ll"
Aufschrift auf einem Container, Informatik-Parkplatz
http://lambda.foldr.org/~vs/ * PGP * S/MIME
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to