From: Stefan Hajnoczi <stefanha@gmail.com>
To: "Furukawa, Eiji" <e_furukawa@jp.fujitsu.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] main-loop.c: About Select handling
Date: Thu, 29 Nov 2012 15:17:32 +0100 [thread overview]
Message-ID: <20121129141732.GC13694@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <9AFE08236B46DE418D958EE249411AC21B8713BC@g01jpexmbyt23>
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
next prev parent reply other threads:[~2012-11-29 14:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 3:08 [Qemu-devel] main-loop.c: About Select handling Furukawa, Eiji
2012-11-29 14:17 ` Stefan Hajnoczi [this message]
2012-12-06 0:30 ` Furukawa, Eiji
2012-12-11 10:12 ` Stefan Hajnoczi
2012-12-17 4:49 ` Furukawa, Eiji
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121129141732.GC13694@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=e_furukawa@jp.fujitsu.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).