[GHC] #1391: forkProcess() in Schedule.c with -threaded should initialize mutexes in child process (POSIX)

GHC trac at haskell.org
Tue Oct 9 09:06:17 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):

 Thorkil - following our conversation at ICFP, I've pushed a patch that
 calls `initMutex` for every Task:

 {{{
 Tue Oct  9 13:24:09 BST 2007  Simon Marlow <simonmar at microsoft.com>
   * also call initMutex on every task->lock, see #1391
 }}}

 could you let me know if that works for you?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1391#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list