causes the entire program to crash. (Not just the thread that is doing the threadWaitRead.) Is this not a little drastic? To run the attached code use ghc -syslib posix -syslib concurrent -cpp ThreadWaitFail.hs -o TWF ./TWF
- RE: threadWaitRead on a closed Fd - - - George Russell
- RE: threadWaitRead on a closed Fd - - - Simon Marlow
- Re: threadWaitRead on a closed Fd - - - George Russell
ThreadWaitFail.hs