Monado OpenXR Runtime
os_threading.h File Reference

Wrapper around OS threading native functions. More...

#include "xrt/xrt_compiler.h"
#include "xrt/xrt_config_os.h"
#include "util/u_misc.h"
#include "os/os_time.h"
#include <pthread.h>
#include <semaphore.h>
#include <assert.h>
Include dependency graph for os_threading.h:

Go to the source code of this file.

Data Structures

struct  os_mutex
 A wrapper around a native mutex. More...
 
struct  os_cond
 A wrapper around a native conditional variable. More...
 
struct  os_thread
 A wrapper around a native thread. More...
 
struct  os_semaphore
 A wrapper around a native semaphore. More...
 
struct  os_thread_helper
 All in one helper that handles locking, waiting for change and starting a thread. More...
 

Detailed Description

Wrapper around OS threading native functions.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m