qemu-timer: move icount to cpus.c
[qemu.git] / qemu-thread-posix.h
blobee4618e62095405bee67852e18c232aeaa883f9c
1 #ifndef __QEMU_THREAD_POSIX_H
2 #define __QEMU_THREAD_POSIX_H 1
3 #include "pthread.h"
5 struct QemuMutex {
6 pthread_mutex_t lock;
7 };
9 struct QemuCond {
10 pthread_cond_t cond;
13 struct QemuThread {
14 pthread_t thread;
17 #endif