add Win32 IPI service

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Paolo Bonzini 2011-03-12 17:44:08 +01:00 committed by Blue Swirl
parent b55c22c65b
commit cc015e9a5d
3 changed files with 22 additions and 13 deletions

View file

@ -171,15 +171,6 @@ void qemu_thread_create(QemuThread *thread,
pthread_sigmask(SIG_SETMASK, &oldset, NULL);
}
void qemu_thread_signal(QemuThread *thread, int sig)
{
int err;
err = pthread_kill(thread->thread, sig);
if (err)
error_exit(err, __func__);
}
void qemu_thread_get_self(QemuThread *thread)
{
thread->thread = pthread_self();