#5784: Forked thread running infinite loop blocks other threads from running
-----------------------------------------+----------------------------------
Reporter: joeyadams | Owner:
Type: bug | Status: new
Priority: normal | Component: Runtime System
Version: 7.2.2 | Keywords:
Os: Linux | Architecture: x86_64 (amd64)
Failure: Incorrect result at runtime | Testcase:
Blockedby: | Blocking:
Related: |
-----------------------------------------+----------------------------------
Comment(by lpsmith):
This actually makes sense to me; if 7.2.2 is smarter about
reducing/eliminating memory allocation than 7.0.3, then you could
eliminate all your yield points.
What doesn't make quite sense to me, is why this fails to work even
-threaded -N2. Are Haskell threads tied to a particular capability? Or
at least, if a Haskell thread never yields, would the Haskell threads on
that capability be stuck?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5784#comment:3>
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