#include <oskit/threads/pthread.h>int pthread_mutex_trylock(pthread_mutex_t *m);
Attempt to lock a mutex object. This function always returns immediately.
- mutex
- A pointer to the mutex object.
Returns zero on success. Returns EBUSY if the mutex object is locked.
pthread_mutex_init, pthread_mutex_unlock, pthread_mutex_lock