blob: ee4618e62095405bee67852e18c232aeaa883f9c [file] [log] [blame]
Paolo Bonzini9257d462011-03-12 17:43:52 +01001#ifndef __QEMU_THREAD_POSIX_H
2#define __QEMU_THREAD_POSIX_H 1
3#include "pthread.h"
4
5struct QemuMutex {
6 pthread_mutex_t lock;
7};
8
9struct QemuCond {
10 pthread_cond_t cond;
11};
12
13struct QemuThread {
14 pthread_t thread;
15};
16
Paolo Bonzini9257d462011-03-12 17:43:52 +010017#endif