Re: [Qemu-devel] [PATCH] sigfd: use pthread_sigmask

2011-06-10 Thread Edgar E. Iglesias
On Thu, Jun 09, 2011 at 12:55:37AM +0200, Alexander Graf wrote: > Qemu uses signalfd to figure out, if a signal occured without the need > to actually receive the signal. Instead, it can read from the fd to receive > its news. > > Now, we obviously don't always have signalfd around. Especially not

Re: [Qemu-devel] [PATCH] sigfd: use pthread_sigmask

2011-06-09 Thread Andreas Färber
Am 09.06.2011 um 14:36 schrieb Andreas Färber: Am 09.06.2011 um 00:55 schrieb Alexander Graf: Qemu uses signalfd to figure out, if a signal occured without the need to actually receive the signal. Instead, it can read from the fd to receive its news. Now, we obviously don't always have si

Re: [Qemu-devel] [PATCH] sigfd: use pthread_sigmask

2011-06-09 Thread Andreas Färber
Am 09.06.2011 um 00:55 schrieb Alexander Graf: Qemu uses signalfd to figure out, if a signal occured without the need to actually receive the signal. Instead, it can read from the fd to receive its news. Now, we obviously don't always have signalfd around. Especially not on non-Linux systems

Re: [Qemu-devel] [PATCH] sigfd: use pthread_sigmask

2011-06-08 Thread Jan Kiszka
On 2011-06-09 00:55, Alexander Graf wrote: > Qemu uses signalfd to figure out, if a signal occured without the need > to actually receive the signal. Instead, it can read from the fd to receive > its news. > > Now, we obviously don't always have signalfd around. Especially not on > non-Linux syste

Re: [Qemu-devel] [PATCH] sigfd: use pthread_sigmask

2011-06-08 Thread Paolo Bonzini
On 06/09/2011 12:55 AM, Alexander Graf wrote: Qemu uses signalfd to figure out, if a signal occured without the need to actually receive the signal. Instead, it can read from the fd to receive its news. Now, we obviously don't always have signalfd around. Especially not on non-Linux systems. So

Re: [Qemu-devel] [PATCH] sigfd: use pthread_sigmask

2011-06-08 Thread Alexandre Raymond
On Wed, Jun 8, 2011 at 6:55 PM, Alexander Graf wrote: > Qemu uses signalfd to figure out, if a signal occured without the need > to actually receive the signal. Instead, it can read from the fd to receive > its news. > > Now, we obviously don't always have signalfd around. Especially not on > non-

[Qemu-devel] [PATCH] sigfd: use pthread_sigmask

2011-06-08 Thread Alexander Graf
Qemu uses signalfd to figure out, if a signal occured without the need to actually receive the signal. Instead, it can read from the fd to receive its news. Now, we obviously don't always have signalfd around. Especially not on non-Linux systems. So what we do there is that we create a new thread,