#4154: Deadlock in Chan module
------------------------------------------+---------------------------------
  Reporter:  NeilMitchell                 |          Owner:                  
      Type:  bug                          |         Status:  closed          
  Priority:  high                         |      Milestone:  7.0.1           
 Component:  libraries/base               |        Version:  6.12.3          
Resolution:  fixed                        |       Keywords:                  
        Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple
   Failure:  Incorrect result at runtime  |     Difficulty:                  
  Testcase:                               |      Blockedby:                  
  Blocking:                               |        Related:                  
------------------------------------------+---------------------------------

Comment(by singpolyma):

 I would also like a non-blocking readChan, and while tryTakeMVar seems
 like the right solution for that, from reading this report it seems that
 isEmptyChan will not cause a deadlock in this case, because no one is
 reading the Chan (unless you have multiple readers).

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