Annotation of qemu/qemu-thread-win32.h, revision 1.1.1.2

1.1       root        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: 
1.1.1.2 ! root       16: typedef struct QemuThreadData QemuThreadData;
1.1       root       17: struct QemuThread {
1.1.1.2 ! root       18:     QemuThreadData *data;
        !            19:     unsigned tid;
1.1       root       20: };
                     21: 
1.1.1.2 ! root       22: /* Only valid for joinable threads.  */
        !            23: HANDLE qemu_thread_get_handle(QemuThread *thread);
        !            24: 
1.1       root       25: #endif

unix.superglobalmegacorp.com