[Haskell-cafe] Unbound threads and FFI

Joel Reymont joelr1 at gmail.com
Wed Dec 14 10:33:31 EST 2005


On Dec 14, 2005, at 3:21 PM, Simon Marlow wrote:

> this only happens in the -threaded RTS, in the non-threaded RTS a FFI
> call will block all the other Haskell threads.

Just to be absolutely sure... Does the above apply to safe _and_  
unsafe FFI?

I have been using the non-threaded runtime with unsafe FFI calls  
(OpenSSL, Zlib) and I do not believe my runtime was being blocked.  
Maybe I just didn't notice it, though.

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list