[GHC] #1391: forkProcess() in Schedule.c with -threaded should
initialize mutexes in child process (POSIX)
GHC
trac at galois.com
Thu Sep 27 05:17:19 EDT 2007
#1391: forkProcess() in Schedule.c with -threaded should initialize mutexes in
child process (POSIX)
-------------------------------+--------------------------------------------
Reporter: thorkilnaur | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.8 branch
Component: Runtime System | Version: 6.7
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: MacOS X | Testcase: forkprocess01(ghci)
Architecture: powerpc |
-------------------------------+--------------------------------------------
Comment (by simonmar):
Thanks Thorkil. I've pushed another change that should initialize the
missing lock - it does essentially the same thing as your patch, but only
a single Task is important here, the others are all discarded in the child
process. Hopefully this will finally fix it.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1391#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list