Monado OpenXR Runtime
os_thread Struct Reference

A wrapper around a native thread. More...

#include <os/os_threading.h>

Collaboration diagram for os_thread:

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
 

Detailed Description

A wrapper around a native thread.


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