[GHC] #1185: can't do I/O in the child of forkProcess with -threaded

GHC trac at galois.com
Fri Mar 14 14:15:15 EDT 2008


#1185: can't do I/O in the child of forkProcess with -threaded
----------------------------+-----------------------------------------------
 Reporter:  simonmar        |          Owner:             
     Type:  bug             |         Status:  new        
 Priority:  low             |      Milestone:  _|_        
Component:  Runtime System  |        Version:  6.6        
 Severity:  normal          |     Resolution:             
 Keywords:                  |     Difficulty:  Easy (1 hr)
 Testcase:                  |   Architecture:  Unknown    
       Os:  Unknown         |  
----------------------------+-----------------------------------------------
Comment (by tibbe):

 Implementing igloo's suggestion will solve my current problem. I'm still
 interested in workarounds that would allow me (by jumping through some
 hoops) to export the same API but internally daemonize the process using
 some C code. Note that I need to executed some Haskell code (that is
 single threaded) before I can invoke the C code.

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


More information about the Glasgow-haskell-bugs mailing list