qemu/qemu-thread-win32.h
<<
>>
Prefs
   1#ifndef __QEMU_THREAD_WIN32_H
   2#define __QEMU_THREAD_WIN32_H 1
   3#include "windows.h"
   4
   5struct QemuMutex {
   6    CRITICAL_SECTION lock;
   7    LONG owner;
   8};
   9
  10struct QemuCond {
  11    LONG waiters, target;
  12    HANDLE sema;
  13    HANDLE continue_event;
  14};
  15
  16struct QemuThread {
  17    HANDLE thread;
  18    void *ret;
  19};
  20
  21#endif
  22