qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] sigaction in windows


From: Paolo Bonzini
Subject: Re: [Qemu-devel] sigaction in windows
Date: Mon, 14 May 2012 17:55:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Il 14/05/2012 17:51, Mulyadi Santosa ha scritto:
> Hi...
> 
> On Mon, May 14, 2012 at 3:39 PM, Paolo Bonzini <address@hidden> 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
>>
>>
> 
> 
> 




reply via email to

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