SYNOPSIS
#include <pthread.h>
int pthread_mutex_destroy(pthread_mutex_t *mutex);
DESCRIPTION
The
PARAMETERS
RETURN VALUES
On success,
- EINVAL
-
mutex does not refer to an initialized mutex.
- EFAULT
-
mutex is an invalid pointer.
- EBUSY
-
The mutex is locked or in use by another thread (for example, in a condition wait).
CONFORMANCE
POSIX P1003.1 (1996)
MULTITHREAD SAFETY LEVEL
MT-safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
pthread_mutex_init()
PTC MKS Toolkit 10.4 Documentation Build 39.