Destroy mutex
#include <pthread.h> int pthread_mutex_destroy( pthread_mutex_t* mutex );
libc
The pthread_mutex_destroy() function destroys the mutex mutex. A destroyed mutex may not be reused unless the mutex is reinitialized using pthread_mutex_init().
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
pthread_mutex_init(), SyncDestroy()