#4514: IO manager can deadlock if a file descriptor is closed behind its back
---------------------------------+------------------------------------------
    Reporter:  adept             |       Owner:  bos                        
        Type:  bug               |      Status:  new                        
    Priority:  normal            |   Component:  Runtime System             
     Version:  7.0.1             |    Keywords:                             
    Testcase:                    |   Blockedby:                             
          Os:  Linux             |    Blocking:                             
Architecture:  Unknown/Multiple  |     Failure:  Incorrect result at runtime
---------------------------------+------------------------------------------

Comment(by bos):

 Please comment on the two attached patches. The first is against
 {{{unix-2.0}}} (i.e. against the version in GHC 7 and HEAD), the second
 against git HEAD of {{{network}}}.

 The patches do indeed get rid of the deadlock, and also avoid the
 possibility of multiple threads racing against each other.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4514#comment:17>
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