PTHREAD_MUTEXATTR_SETKIND_NPSection: C Library Functions (3)Updated: LinuxThreads |
PTHREAD_MUTEXATTR_SETKIND_NPSection: C Library Functions (3)Updated: LinuxThreads |
int pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int kind);
int pthread_mutexattr_getkind_np(const pthread_mutexattr_t *attr, int *kind);
These functions are deprecated, use pthread_mutexattr_settype(3) and pthread_mutexattr_gettype(3) instead.
pthread_mutexattr_setkind_np returns 0 on success and a non-zero error code on error.
On error, pthread_mutexattr_setkind_np returns the following error code: