File:  [Qemu by Fabrice Bellard] / qemu / qemu-thread-posix.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:56:39 2018 UTC (3 years, 1 month ago) by root
Branches: qemu, MAIN
CVS tags: qemu1101, qemu1001, qemu1000, qemu0151, HEAD
qemu 0.15.1

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

unix.superglobalmegacorp.com