DLL thread safety

Neil Mitchell ndmitchell at gmail.com
Fri Feb 13 05:37:18 EST 2009


I'm building a DLL using the instructions here:

I must call startupHaskell before I make any calls to Haskell
functions. However, that page doesn't detail any thread safety rules.
In particular:

* If I call startupHaskell on Thread 1, can I make Haskell calls from Thread 2.

* Can I make Haskell calls from both Thread 1 and Thread 2 simultaneously.

Many thanks


More information about the Glasgow-haskell-users mailing list