Hello Alistair,

Monday, December 22, 2008, 7:28:03 PM, you wrote:

> safe). I also was not aware of unsafe calls blocking other threads.

they don't to it directly. but without -threaded +RTS -N (or forkOS)
there is only 1 OS thread that runs all haskell threads. unsafe call
blocks it untill call finished, while safe call allows to reuse it for
other haskell threads execution. i've attached old ghc commentary on
this topic, although things may be significantly changed ATM


-- 
Best regards,
 Bulat                            mailto:bulat.zigans...@gmail.com

Attachment: The GHC Commentary - Supporting multi-threaded interoperation.htm
Description: Binary data

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to