qemu-thread-posix.h 233 B

1234567891011121314151617
  1. #ifndef __QEMU_THREAD_POSIX_H
  2. #define __QEMU_THREAD_POSIX_H 1
  3. #include "pthread.h"
  4. struct QemuMutex {
  5. pthread_mutex_t lock;
  6. };
  7. struct QemuCond {
  8. pthread_cond_t cond;
  9. };
  10. struct QemuThread {
  11. pthread_t thread;
  12. };
  13. #endif