[GHC] #10639: Optimization changes concurrent program's behaviour
GHC
ghc-devs at haskell.org
Wed Jul 15 08:43:19 UTC 2015
#10639: Optimization changes concurrent program's behaviour
-------------------------------------+-------------------------------------
Reporter: gizmo.mk0 | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Windows | Architecture: x86_64
Type of failure: Incorrect result | (amd64)
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by slyfox):
* cc: slyfox (added)
Comment:
It's a result of cooperative multitasking in ghc: Trac #367
In short: non-allocating threads can starve other threads, can be worked-
around by -fno-omit-yields
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10639#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list