Hello Günther,
Monday, December 22, 2008, 1:57:22 AM, you wrote:
try -threaded, +RTS -N2, and forkOS simultaneously. it may work - i
don't see reasons why other threads should be freezd why one does
unsafe call
nother solution is to compile library with unsafe call changed to
safe. this change i
Hello John,
Monday, December 22, 2008, 5:15:46 PM, you wrote:
>> And in general we would not even bother with considering using "unsafe"
>> for calls that are already expensive. It's only worth considering when
>> the length of the call is always very short.
the other way to look at it is to mea
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