Monado OpenXR Runtime
Loading...
Searching...
No Matches
os_cond Struct Reference

A wrapper around a native conditional variable. More...

#include <os/os_threading.h>

Collaboration diagram for os_cond:

Static Public Member Functions

static int os_cond_init (struct os_cond *oc)
 Init.
 
static void os_cond_signal (struct os_cond *oc)
 Signal.
 
static int os_cond_broadcast (struct os_cond *oc)
 Broadcast (signal to multiple threads).
 
static void os_cond_wait (struct os_cond *oc, struct os_mutex *om)
 Wait.
 
static void os_cond_destroy (struct os_cond *oc)
 Clean up.
 

Data Fields

pthread_cond_t cond
 
bool initialized
 

Detailed Description

A wrapper around a native conditional variable.


The documentation for this struct was generated from the following file: