![]() |
O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
|
Provide a convenient RAII-style mechanism to access mutex-protected resources. More...
Go to the source code of this file.
Functions | |
pthread_mutex_t * | o2s_mutex_lock (pthread_mutex_t *mutex) |
Lock the mutex, logging any error. | |
void | o2s_mutex_unlock (pthread_mutex_t *const *mutex) |
Unlock the mutex, logging any error. |
Provide a convenient RAII-style mechanism to access mutex-protected resources.
Definition in file mutex.c.