aboutsummaryrefslogtreecommitdiffstats
path: root/qemu-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-thread.c')
-rw-r--r--qemu-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-thread.c b/qemu-thread.c
index 719cfcd..3923db7 100644
--- a/qemu-thread.c
+++ b/qemu-thread.c
@@ -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);
}