repo.or.cz
/
qemu
/
opensuse.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
device_tree: Fix potential memory leak
[qemu/opensuse.git]
/
qemu-thread-win32.h
blob
878f86a910c3fd562b366d82c568a768de6b75d5
1
#ifndef __QEMU_THREAD_WIN32_H
2
#define __QEMU_THREAD_WIN32_H 1
3
#include
"windows.h"
4
5
struct
QemuMutex
{
6
CRITICAL_SECTION lock
;
7
LONG owner
;
8
};
9
10
struct
QemuCond
{
11
LONG waiters
,
target
;
12
HANDLE sema
;
13
HANDLE continue_event
;
14
};
15
16
struct
QemuThread
{
17
HANDLE thread
;
18
void
*
ret
;
19
};
20
21
#endif