qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] main-loop.c: About Select handling


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] main-loop.c: About Select handling
Date: Thu, 29 Nov 2012 15:17:32 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Nov 28, 2012 at 03:08:24AM +0000, Furukawa, Eiji wrote:
> About a source of qemu-1.2.0/main-loop.c
> The select handling of os_host_main_loop_wait function
> I do not seem to do Exit by interrupts such as SIGUSR1
> Will not it be necessary to make modifications?
> 
> Before
>  LineNumber:308   ret = select(nfds + 1, &rfds, &wfds, &xfds, tvarg);
> 
> After(Example)
>     do {
>         ret = select(nfds + 1, &rfds, &wfds, &xfds, tvarg);
>     } while(ret == -1 && (errno == EINTR || errno == EAGAIN))

What is the specific bug or problem you're seeing?

QEMU uses several signals internally and sets up per-thread signal masks
appropriately.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]