
22 Dec
2008
22 Dec
'08
11:48 a.m.
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.Ziganshin@gmail.com