]> git.proxmox.com Git - qemu.git/blobdiff - qemu-thread.c
pc: add machine type for 0.12
[qemu.git] / qemu-thread.c
index 719cfcddd4b154efad48e23648c4307003470dec..3923db74ee1b3be1859ad401900d445872f3cea1 100644 (file)
@@ -158,6 +158,6 @@ void qemu_thread_self(QemuThread *thread)
 
 int qemu_thread_equal(QemuThread *thread1, QemuThread *thread2)
 {
-   return (thread1->thread == thread2->thread);
+   return pthread_equal(thread1->thread, thread2->thread);
 }