
11 Jul
2003
11 Jul
'03
4:49 a.m.
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