#4449: GHC 7 can't do IO when demonized
----------------------------+-----------------------------------------------
  Reporter:  kazu-yamamoto  |          Owner:             
      Type:  bug            |         Status:  closed     
  Priority:  normal         |      Milestone:             
 Component:  Compiler       |        Version:  7.1        
Resolution:  fixed          |       Keywords:  forkProcess
  Testcase:                 |      Blockedby:             
Difficulty:                 |             Os:  MacOS X    
  Blocking:                 |   Architecture:  x86        
   Failure:  None/Unknown   |  
----------------------------+-----------------------------------------------

Comment(by simonmar):

 `direct-daemonize` appears to call the C function `daemon()` which will
 bypass the RTS completely, so it's not unsurprising that things don't work
 with `-threaded`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4449#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to