|
Monado OpenXR Runtime
|
A wrapper around a native mutex. More...
#include <os/os_threading.h>

Static Public Member Functions | |
| static int | os_mutex_init (struct os_mutex *om) |
| Init. More... | |
| static void | os_mutex_lock (struct os_mutex *om) |
| Lock. More... | |
| static int | os_mutex_trylock (struct os_mutex *om) |
| Try to lock, but do not block. More... | |
| static void | os_mutex_unlock (struct os_mutex *om) |
| Unlock. More... | |
| static void | os_mutex_destroy (struct os_mutex *om) |
| Clean up. More... | |
| static int | os_mutex_recursive_init (struct os_mutex *om) |
| Init. More... | |
| static void | os_mutex_recursive_destroy (struct os_mutex *om) |
| Clean up. More... | |
Data Fields | |
| pthread_mutex_t | mutex |
| bool | initialized |
| bool | recursive |
A wrapper around a native mutex.