summary refs log tree commit diff stats
path: root/include/qemu/thread-posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qemu/thread-posix.h')
-rw-r--r--include/qemu/thread-posix.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/qemu/thread-posix.h b/include/qemu/thread-posix.h
index 5466608d7c..5f2f3d1386 100644
--- a/include/qemu/thread-posix.h
+++ b/include/qemu/thread-posix.h
@@ -27,10 +27,9 @@ struct QemuCond {
 };
 
 struct QemuSemaphore {
-    pthread_mutex_t lock;
-    pthread_cond_t cond;
+    QemuMutex mutex;
+    QemuCond cond;
     unsigned int count;
-    bool initialized;
 };
 
 struct QemuEvent {