#5784: Forked thread running infinite loop blocks other threads from running
------------------------------------------+---------------------------------
  Reporter:  joeyadams                    |          Owner:                
      Type:  bug                          |         Status:  closed        
  Priority:  normal                       |      Milestone:                
 Component:  Runtime System               |        Version:  7.2.2         
Resolution:  duplicate                    |       Keywords:                
        Os:  Linux                        |   Architecture:  x86_64 (amd64)
   Failure:  Incorrect result at runtime  |     Difficulty:  Unknown       
  Testcase:                               |      Blockedby:                
  Blocking:                               |        Related:                
------------------------------------------+---------------------------------

Comment(by simonmar):

 Both threads start on the same capability, and the scheduler never gets a
 chance to load-balance and move one of them to the other capability,
 because the program is in an infinite loop and never yields to the
 scheduler.

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