From: Peter Maydell <peter.maydell@linaro.org>
To: Bug 955379 <955379@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 955379] Re: cmake hangs with qemu-arm-static
Date: Sat, 1 Dec 2012 11:27:23 +0000 [thread overview]
Message-ID: <CAFEAcA-41pvu_tFAcacbQQfBeG4oB1-J-3yRVH2uruegscnDJg@mail.gmail.com> (raw)
In-Reply-To: <20121201102951.5477.41087.malone@wampee.canonical.com>
On 1 December 2012 10:29, Janne Karhunen <955379@bugs.launchpad.net> wrote:
>> this blocks forever, because the thing that would wake it up is the
> signal handler writing to the pipe we're selecting on, but we will never
> run the signal handler until select exits
>
> Duh, makes sense, have to think about this. Thank you for great analysis
> :)
>
> Apparently have to dig into qemu's code to understand this better, but
> first thought was that do you think it would be possible to add some
> crude hack bit in qemu's signal handler which we could 'almost
> atomically' check prior to entering system poll/select/read/whatnot ?
> This bit would tell there are user signals queued and handlers should be
> executed first.. ?
Nope, it's still not going to be non-racy that way (and it would still
be a pretty invasive change so it doesn't really make it easier either
I think).
-- PMM
next prev parent reply other threads:[~2012-12-01 11:27 UTC|newest]
Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-14 19:23 [Qemu-devel] [Bug 955379] [NEW] cmake hangs with qemu-arm-static Tom Mullins
2012-05-09 15:13 ` [Qemu-devel] [Bug 955379] " David Sugar
2012-11-21 23:12 ` Ricardo Salveti
2012-11-21 23:13 ` Tim Penhey
2012-11-21 23:13 ` Ricardo Salveti
2012-11-22 9:25 ` Peter Maydell
2012-11-23 11:20 ` Launchpad Bug Tracker
2012-11-25 20:40 ` Tim Penhey
2012-11-25 21:35 ` Peter Maydell
2012-11-28 8:42 ` Janne Karhunen
2012-11-28 9:02 ` Peter Maydell
2012-11-29 9:34 ` Janne Karhunen
2012-11-29 9:40 ` Janne Karhunen
2012-11-30 15:56 ` Peter Maydell
2012-11-30 16:23 ` Janne Karhunen
2012-11-30 16:38 ` Peter Maydell
2012-11-30 17:17 ` Peter Maydell
2012-12-01 10:29 ` Janne Karhunen
2012-12-01 11:27 ` Peter Maydell [this message]
2012-12-03 21:20 ` Alexander Graf
2012-12-03 21:57 ` Peter Maydell
2012-12-02 13:03 ` Peter Maydell
2012-12-04 6:41 ` Janne Karhunen
2012-12-04 9:32 ` Peter Maydell
2012-12-04 11:21 ` Janne Karhunen
2012-12-04 11:39 ` Peter Maydell
2012-12-04 11:43 ` Janne Karhunen
2012-12-04 12:25 ` Janne Karhunen
2012-12-05 9:03 ` Janne Karhunen
2012-12-05 11:29 ` Janne Karhunen
2012-12-05 12:19 ` Ubuntu Foundations Team Bug Bot
2013-01-18 12:10 ` Luke Kim
2013-01-21 9:17 ` Janne Karhunen
2013-04-12 10:25 ` Luke Kim
2013-04-15 9:42 ` Janne Karhunen
2014-07-09 6:30 ` Luke Kim
2014-07-09 21:57 ` Peter Maydell
2014-07-11 10:00 ` vitaly.v.ch
2014-07-11 10:01 ` vitaly.v.ch
2014-07-11 14:35 ` Peter Maydell
2014-07-18 17:22 ` Peter Maydell
2015-09-19 18:29 ` skunk
2015-09-19 21:01 ` Peter Maydell
2015-09-19 23:31 ` skunk
2015-09-20 4:52 ` Peter Crosthwaite
2015-09-22 15:16 ` skunk
2016-05-12 15:29 ` Peter Maydell
2016-05-12 15:44 ` skunk
2016-05-12 16:23 ` Peter Maydell
2016-05-20 21:56 ` Jools Wills
2016-06-07 16:34 ` Peter Maydell
2016-06-07 16:43 ` Jools Wills
2016-06-09 5:21 ` Riku Voipio
2016-06-09 6:20 ` Riku Voipio
2016-06-10 8:10 ` Luke Kim
2016-06-16 12:32 ` Peter Maydell
2016-07-14 7:43 ` Luke Kim
2016-07-14 9:43 ` Peter Maydell
2016-07-15 6:32 ` Luke Kim
2016-07-15 8:46 ` Peter Maydell
2016-07-16 10:01 ` Luke Kim
2016-07-18 13:28 ` Peter Maydell
2016-07-19 0:26 ` Luke Kim
2016-07-21 10:11 ` Peter Maydell
2016-09-01 12:26 ` Luke Kim
2016-09-02 21:43 ` T. Huth
2018-04-13 10:13 ` TJ
2018-04-16 4:22 ` David Lechner
2018-04-16 4:43 ` David Lechner
2018-04-16 6:48 ` ChristianEhrhardt
2018-04-16 6:53 ` ChristianEhrhardt
2018-04-16 22:43 ` David Lechner
2018-06-29 14:58 ` Łukasz Zemczak
2018-06-29 16:13 ` Peter Maydell
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=CAFEAcA-41pvu_tFAcacbQQfBeG4oB1-J-3yRVH2uruegscnDJg@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=955379@bugs.launchpad.net \
--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).