[project @ 2002-09-17 12:11:44 by simonmar]
authorsimonmar <unknown>
Tue, 17 Sep 2002 12:11:45 +0000 (12:11 +0000)
committersimonmar <unknown>
Tue, 17 Sep 2002 12:11:45 +0000 (12:11 +0000)
commit48c557b5117015fcec8e6fb05e7de558cca462fc
treea8e800f56fedd0c62df1177e3fe8062544712706
parent67419f264a735dfd95001d0d8aedb28d01cdb18a
[project @ 2002-09-17 12:11:44 by simonmar]
The GC wasn't properly marking pending signal handlers, which could
lead to "EVACUATED object entered!" errors.  Also, a race occurs if a
signal arrives during GC.  Two fixes:

  (a) mark all pending signal handlers during GC, and
  (b) block signals during GC

MERGE TO STABLE
ghc/rts/GC.c
ghc/rts/Signals.c
ghc/rts/Signals.h