Fix signal handling of SIG_IPI when io-thread is enabled
authorAlexandre Raymond <cerbere@gmail.com>
Wed, 15 Jun 2011 05:20:31 +0000 (01:20 -0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 16 Jul 2011 19:43:00 +0000 (19:43 +0000)
commit74c7c6ab0f861edfac764ec1b6581aac4d842e12
treef7ea26ffe7cea8eb7acea9566b7871f7d8a384cb
parent8d1d3a176eeb4f51714cf4fa007655be613d21ba
Fix signal handling of SIG_IPI when io-thread is enabled

Both the signal thread (via sigwait()) and the cpu thread (via
a normal signal handler) were attempting to catch SIG_IPI.

This resulted in random freezes under Darwin.

This patch separates SIG_IPI from the rest of the signals handled
by the signal thread, because it is independently caught by the cpu
thread.

Signed-off-by: Alexandre Raymond <cerbere@gmail.com>
Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
cpus.c