[GHC] #4504: "awaitSignal Nothing" does not block thread with -threaded
GHC
cvs-ghc at haskell.org
Wed Dec 8 09:16:52 CET 2010
#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):
Well, apart from THREADED_RTS everything else will be available via Rts.h
-> MachDeps.h -> ghcautoconf.h, is it not?
Contents of the dist-install/build/System/Posix/Signals.hs support my
theory: note that in the absence of needed defines, the whole {{{#if ..
#endif}}} block would evaluate to empty. However, on my notebook, it
evaluates to the (proper) value of {{{virtualTimerExpired}}}.
However, I agree that at the very least, check for
{{{defined(THREADED_RTS)}}} should be removed. Modified patch will be
attached after this comment.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4504#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list