hGetContents and threadWaitRead?

MR K P SCHUPKE k.schupke@ic.ac.uk
Mon, 17 Jun 2002 11:24:32 +0100

Whilst everyone is discussing threads, does anybody know if hGetContents
is well behaved
with respect to threads - ie does it use threadWaitRead internally? I
know it uses unsafePerfomIO,
is a function that interleaves IO using unsafePerformIO automatically
haskell-thread safe? - also
do I need to use threadWaitWrite before any hPut - or do the hPut
functions do this internally?

    Keean Schupke.