#include <oskit/threads/pthread.h>int pthread_mutex_destroy(pthread_mutex_t *m);
The mutex object is destroyed, although the memory for the object is not deallocated. The mutex must not be held.
- mutex
- A pointer to the mutex object.
Returns zero on success. Returns EBUSY if the mutex is still held.
pthread_mutex_init