Typedefs | |
typedef implementation_defined | os_mutex_t |
Functions | |
void | os_mutex_init (os_mutex_t *mutex) |
void | os_mutex_destroy (os_mutex_t *mutex) |
void | os_mutex_lock (os_mutex_t *mutex) |
void | os_mutex_unlock (os_mutex_t *mutex) |
typedef implementation_defined os_mutex_t |
Implementation defined mutex object.
void os_mutex_destroy | ( | os_mutex_t * | mutex | ) |
Destroy a mutex, freeing any resources the OS may have allocated.
Callable from: thread context.
mutex | the mutex to destroy. |
void os_mutex_init | ( | os_mutex_t * | mutex | ) |
Initialize a mutex.
Callable from: thread context.
mutex | mutex to initialize. |
void os_mutex_lock | ( | os_mutex_t * | mutex | ) |
Lock a mutex.
Callable from: thread context.
mutex | the mutex to lock. |
void os_mutex_unlock | ( | os_mutex_t * | mutex | ) |
Unlock a mutex.
Callable from: thread context.
mutex | the mutex to unlock. |