repo.or.cz
/
qemu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
include qemu-thread.h early
[qemu.git]
/
qemu-thread-posix.h
blob
7af371c3b7339736cf30041c9bfa516f0706da79
1
#ifndef __QEMU_THREAD_POSIX_H
2
#define __QEMU_THREAD_POSIX_H 1
3
#include
"pthread.h"
4
5
struct
QemuMutex
{
6
pthread_mutex_t lock
;
7
};
8
9
struct
QemuCond
{
10
pthread_cond_t cond
;
11
};
12
13
struct
QemuThread
{
14
pthread_t thread
;
15
};
16
17
void
qemu_thread_signal
(
QemuThread
*
thread
,
int
sig
);
18
#endif