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