mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
22 lines
307 B
C
22 lines
307 B
C
|
#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
|