[GHC] #3373: GHC API is not thread safe
GHC
trac at galois.com
Tue Jul 14 18:31:26 EDT 2009
#3373: GHC API is not thread safe
-----------------------------+----------------------------------------------
Reporter: jcpetruzza | Owner:
Type: feature request | Status: new
Priority: normal | Component: GHC API
Version: | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
There are some items of global state (the {{{NameCache}}} and the
{{{PackageInterfaceTable}}}) that should be protected. One can workaround
this by using a mutex and only invoking GHC API operations in one thread
at a time.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3373>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list