cvs commit: fptools/ghc/rts RtsStartup.c Schedule.c Select.c
Signals.c Signals.h
Simon Marlow
simonmar@glass.cse.ogi.edu
Wed, 31 Oct 2001 02:34:29 -0800
simonmar 2001/10/31 02:34:29 PST
Modified files:
ghc/rts RtsStartup.c Schedule.c Select.c
Signals.c Signals.h
Log:
Fix a problem when a Haskell process is suspended/resumed using shell
job control in Unix. The shell tends to put stdin back into blocking
mode before resuming the process, so we have to catch SIGCONT and put
it back into O_NONBLOCK.
Also:
- fix a bug in the scheduler: reverse the order of the check
for pending signals and the call to awaitEvent to block on I/O.
- do a style sweep in Signals.c
Revision Changes Path
1.54 +2 -2 fptools/ghc/rts/RtsStartup.c
1.104 +8 -8 fptools/ghc/rts/Schedule.c
1.18 +2 -2 fptools/ghc/rts/Select.c
1.22 +107 -78 fptools/ghc/rts/Signals.c
1.6 +3 -4 fptools/ghc/rts/Signals.h