[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] sigaction in windows
From: |
Mulyadi Santosa |
Subject: |
Re: [Qemu-devel] sigaction in windows |
Date: |
Mon, 14 May 2012 22:51:07 +0700 |
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?
>
> - call ResumeThread on the receiving thread.
>
> It is not exactly the same thing, but it is enough for QEMU's needs.
>
> Paolo
>
>
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com