summary refs log tree commit diff stats
path: root/qemu-thread-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-thread-win32.h')
-rw-r--r--qemu-thread-win32.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/qemu-thread-win32.h b/qemu-thread-win32.h
index 878f86a910..b9d1be8478 100644
--- a/qemu-thread-win32.h
+++ b/qemu-thread-win32.h
@@ -13,9 +13,13 @@ struct QemuCond {
     HANDLE continue_event;
 };
 
+typedef struct QemuThreadData QemuThreadData;
 struct QemuThread {
-    HANDLE thread;
-    void *ret;
+    QemuThreadData *data;
+    unsigned tid;
 };
 
+/* Only valid for joinable threads.  */
+HANDLE qemu_thread_get_handle(QemuThread *thread);
+
 #endif