[Haskell-cafe] Mixing C++ and Haskell, OpenSSL thread safety, and using mmap

Joel Reymont joelr1 at gmail.com
Thu Dec 8 04:21:08 EST 2005


I use OpenSSL in a heavily threaded environment. It works without  
extra locking. I do not use bound (OS) threads, though.

On Dec 8, 2005, at 7:06 AM, Branimir Maksimovic wrote:

> First I want to say about OpenSSL thread safety. It is not thread  
> safe by default.
> Who wants to import and use OpenSLL functions with FFI, have to set  
> locking hooks for it,
> or else spurious  crashes with useless stack trace will result.  
> Higher level of concurrency,
> more likely crash will happen.

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list