bool mutex_destroy(Mutex *mutex)
Destroy a previously created mutex.
bool mutex_unlock(Mutex *mutex)
Unlock a previously locked mutex.
bool mutex_create(Mutex *mutex)
Create a new mutex, which is initially not owned.
bool mutex_lock(Mutex *mutex)
Lock a previously created and unlocked mutex. This will block if the mutex is already locked by some ...
Represents a handle to a mutex. Call mutex_create() to create the mutex and mutex_destroy() to destro...
void * handle
An opaque value that represents the operating system-specific mutex.