convert windows console chardev to QemuOpts.
[qemu] / qemu-thread.c
index 719cfcd..3923db7 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);
 }