~ahs3/+junk/cq-qemu

« back to all changes in this revision

Viewing changes to qemu-thread-win32.h

  • Committer: Al Stone
  • Date: 2012-02-09 01:17:20 UTC
  • Revision ID: albert.stone@canonical.com-20120209011720-tztl7ik3qayz80p4
first commit to bzr for qemu

Show diffs side-by-side

added added

removed removed

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