Re: [Qemu-devel] [PATCH] Fix signal handling when io-thread is disabled

2011-06-14 Thread Alexandre Raymond
Hi Jan, Thanks for reviewing my patch. > But please pull the now common pthread_sigmask out of the #ifdef. Please see v2. Alexandre

Re: [Qemu-devel] [PATCH] Fix signal handling when io-thread is disabled

2011-06-13 Thread Jan Kiszka
On 2011-06-14 05:46, Alexandre Raymond wrote: > This fix effectively blocks, in the main thread, the signals handled > by signalfd or the compatibility signal thread. > > This way, such signals are received synchronously in the main thread > through sigfd_handler() instead of triggering the signal

[Qemu-devel] [PATCH] Fix signal handling when io-thread is disabled

2011-06-13 Thread Alexandre Raymond
This fix effectively blocks, in the main thread, the signals handled by signalfd or the compatibility signal thread. This way, such signals are received synchronously in the main thread through sigfd_handler() instead of triggering the signal handler directly, asynchronously. Signed-off-by: Alexa