diff options
Diffstat (limited to 'qemu-thread-win32.h')
-rw-r--r-- | qemu-thread-win32.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/qemu-thread-win32.h b/qemu-thread-win32.h new file mode 100644 index 0000000000..878f86a910 --- /dev/null +++ b/qemu-thread-win32.h @@ -0,0 +1,21 @@ +#ifndef __QEMU_THREAD_WIN32_H +#define __QEMU_THREAD_WIN32_H 1 +#include "windows.h" + +struct QemuMutex { + CRITICAL_SECTION lock; + LONG owner; +}; + +struct QemuCond { + LONG waiters, target; + HANDLE sema; + HANDLE continue_event; +}; + +struct QemuThread { + HANDLE thread; + void *ret; +}; + +#endif |