[ duh, hit send by mistake, message continues... ]

Chris Kuklewicz wrote:

> forkInheritIO :: IO () -> IO ThreadId -- inherits parent's
> block or unblock status
>
> forkBlockedIO :: IO () -> IO ThreadId -- starts the action in
> "block" mode.  Must manually "unblock"
>

Either of these is certainly possible, and I agree that forkBlockedIO is more 
generally useful than my forkCatchIO.

One tantalising possibility is that we could make forkIO have the forkInheritIO 
behaviour without breaking much code, since I bet forkIO is almost never called 
inside block.

Cheers,
        Simon
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to