
#9519: Add a way to mask thread preemption via fired timer for a computation -------------------------------------+------------------------------------- Reporter: abbradar | Owner: simonmar Type: feature | Status: infoneeded request | Milestone: Priority: normal | Version: 7.8.2 Component: Runtime | Keywords: System | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: | None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by simonmar): * status: new => infoneeded Comment: I doubt that this would be easily implementable, the RTS assumes that worker threads are interchangeable and I think it would be difficult (and error-prone) to change that assumption. The right way to deal with thread-local state is to use a bound thread (`forkOS`). Is that a problem? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9519#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler