Monado OpenXR Runtime
|
A wrapper around a native thread. More...
#include <os/os_threading.h>
Public Types | |
typedef void *(* | os_run_func_t) (void *) |
Run function. More... | |
Static Public Member Functions | |
static int | os_thread_init (struct os_thread *ost) |
Init. More... | |
static int | os_thread_start (struct os_thread *ost, os_run_func_t func, void *ptr) |
Start thread. More... | |
static void | os_thread_join (struct os_thread *ost) |
Join. More... | |
static void | os_thread_destroy (struct os_thread *ost) |
Destruction. More... | |
static void | os_thread_name (struct os_thread *ost, const char *name) |
Make a best effort to name our thread. More... | |
Data Fields | |
pthread_t | thread |
A wrapper around a native thread.