[project @ 2001-10-31 10:34:29 by simonmar]
authorsimonmar <unknown>
Wed, 31 Oct 2001 10:34:29 +0000 (10:34 +0000)
committersimonmar <unknown>
Wed, 31 Oct 2001 10:34:29 +0000 (10:34 +0000)
commit760f104fba0f56e1893006bc97e6afd4b0a0d01b
tree701fc7c18309631312352dbeeb75dc1fa8210609
parentab01dd3748fb245fe3feacafd87f91abd1822409
[project @ 2001-10-31 10:34:29 by simonmar]
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
ghc/rts/RtsStartup.c
ghc/rts/Schedule.c
ghc/rts/Select.c
ghc/rts/Signals.c
ghc/rts/Signals.h