aboutsummaryrefslogtreecommitdiff
path: root/qemu-thread-win32.h
blob: 878f86a910c3fd562b366d82c568a768de6b75d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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