From: Paolo Bonzini <pbonzini@redhat.com>
To: Mulyadi Santosa <mulyadi.santosa@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] sigaction in windows
Date: Mon, 14 May 2012 17:55:44 +0200 [thread overview]
Message-ID: <4FB12B00.1080503@redhat.com> (raw)
In-Reply-To: <CAGdaadYYLJDwVQ3AO-SwdhPzTWFL5vjCt5xYKEj0DTL+L7YnRA@mail.gmail.com>
Il 14/05/2012 17:51, Mulyadi Santosa ha scritto:
> Hi...
>
> On Mon, May 14, 2012 at 3:39 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> It doesn't use sigaction. :) Whenever the POSIX version would send a
>> signal to a thread, the Windows version does the following:
>>
>> - call SuspendThread on the receiving thread;
>>
>> - execute the signal handler code in the sending thread;
>
> you meant, "the receiving thread", right?
No, in the sending thread. That's why I said it is not exactly the same
thing.
Paolo
>>
>> - call ResumeThread on the receiving thread.
>>
>> It is not exactly the same thing, but it is enough for QEMU's needs.
>>
>> Paolo
>>
>>
>
>
>
next prev parent reply other threads:[~2012-05-14 15:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-14 3:47 [Qemu-devel] sigaction in windows bang bang
2012-05-14 8:39 ` Paolo Bonzini
2012-05-14 15:51 ` Mulyadi Santosa
2012-05-14 15:55 ` Paolo Bonzini [this message]
2012-05-15 13:38 ` Mulyadi Santosa
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=4FB12B00.1080503@redhat.com \
--to=pbonzini@redhat.com \
--cc=mulyadi.santosa@gmail.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).