[GHC] #3316: Deadlock in non-threaded RTS with hPutBuf

GHC trac at galois.com
Mon Jun 22 22:33:33 EDT 2009


#3316: Deadlock in non-threaded RTS with hPutBuf
----------------------+-----------------------------------------------------
 Reporter:  ganesh    |          Owner:       
     Type:  bug       |         Status:  new  
 Priority:  normal    |      Milestone:       
Component:  Compiler  |        Version:  6.8.3
 Severity:  normal    |     Resolution:       
 Keywords:            |       Testcase:       
       Os:  Linux     |   Architecture:  x86  
----------------------+-----------------------------------------------------
Comment (by duncan):

 It looks like it'd be possible to set our end of the pipe as non-blocking,
 leaving the other end as blocking. The attached C prog checks if the
 `O_NONBLOCK` setting for the two ends of a pipe are shared or not. On
 Linux and Solaris they appear to be independent.

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


More information about the Glasgow-haskell-bugs mailing list