1.0.25.28: always use SIG_RESUME_FROM_GC
commit1d33d240c6f1385157c7d71f681911f7387ddf32
authorGabor Melis <mega@hotpop.com>
Mon, 16 Feb 2009 21:42:05 +0000 (16 21:42 +0000)
committerGabor Melis <mega@hotpop.com>
Mon, 16 Feb 2009 21:42:05 +0000 (16 21:42 +0000)
tree92a840d5abe01232422af6a3b3257dfe6e633883
parent34226a158e89dec7708cec83679a82b10b14c8ae
1.0.25.28: always use SIG_RESUME_FROM_GC

The other mechanism relied on real time signals which made it freeze
when the sysystem wide real time signal queue got full on Linux. A
full queue spells trouble for other processes using rt signals.

All platforms are changed to use SIGUSR1 and SIGUSR2 for
SIG_STOP_FOR_GC and SIG_RESUME_FROM_GC.

Check that SIG_RESUME_FROM_GC is never signalled without a
corresponding sigwait.
src/runtime/bsd-os.c
src/runtime/interrupt.c
src/runtime/interrupt.h
src/runtime/linux-os.c
src/runtime/linux-os.h
src/runtime/sunos-os.c
src/runtime/sunos-os.h
src/runtime/thread.c
src/runtime/win32-os.h
version.lisp-expr