GHC.IO.Device and "ready" method?

Bulat Ziganshin bulat.ziganshin at
Sat Jun 26 00:57:52 EDT 2010

Hello Dimitry,

Friday, June 25, 2010, 7:06:31 PM, you wrote:

> As a more general question, are GHC Handles (and underlying
> implementations of GHC.IO.Device and GHC.IO.BufferedIO) expected to be
> thread-safe?

i think so. i consider threads as control structure and your question
looks for me the as "can we use Handle in function/cycle other that
one created it"

in particular, it was always safe to make I/O from many threads for
the same Handle

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at

More information about the Glasgow-haskell-users mailing list