make lookupSymbol threadsafe, so loading doesn't block all threads on systems without an IO manager thread (win32)
This commit is contained in:
@ -675,7 +675,7 @@ getImports m = do
|
||||
-- ---------------------------------------------------------------------
|
||||
-- C interface
|
||||
--
|
||||
foreign import ccall unsafe "lookupSymbol"
|
||||
foreign import ccall threadsafe "lookupSymbol"
|
||||
c_lookupSymbol :: CString -> IO (Ptr a)
|
||||
|
||||
foreign import ccall unsafe "loadObj"
|
||||
|
Reference in New Issue
Block a user