#4504: "awaitSignal Nothing" does not block thread with -threaded
---------------------------------+------------------------------------------
Reporter: adept | Owner: adept
Type: bug | Status: patch
Priority: normal | Milestone: 7.2.1
Component: Runtime System | Version: 7.0.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect result at runtime
---------------------------------+------------------------------------------
Comment(by adept):
Ok. Following the discussion on IRC I've clarified the behavior of
{{{awaitSignal Nothing}}} and exported the value of the timer signal from
RTS. I hope that I did this properly - this is my "first export", so
please check carefully :)
I verified and
{{{
blockSignals reservedSignals
awaitSignal Nothing
}}}
behaves as expected and as advertised with -threaded and without.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4504#comment:12>
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