1 .TH PTHREAD_MUTEXATTR_SETKIND_NP 3 LinuxThreads
3 .XREF pthread_mutexattr_getkind_np
6 pthread_mutexattr_setkind_np, pthread_mutexattr_getkind_np \- deprecated mutex creation attributes
11 int pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int kind);
13 int pthread_mutexattr_getkind_np(const pthread_mutexattr_t *attr, int *kind);
17 These functions are deprecated, use !pthread_mutexattr_settype!(3)
18 and !pthread_mutexattr_gettype!(3) instead.
21 !pthread_mutexattr_getkind_np! always returns 0.
23 !pthread_mutexattr_setkind_np! returns 0 on success and a non-zero
28 On error, !pthread_mutexattr_setkind_np! returns the following error code:
31 |kind| is neither !PTHREAD_MUTEX_FAST_NP! nor !PTHREAD_MUTEX_RECURSIVE_NP!
32 nor !PTHREAD_MUTEX_ERRORCHECK_NP!
35 Xavier Leroy <Xavier.Leroy@inria.fr>
38 !pthread_mutexattr_settype!(3),
39 !pthread_mutexattr_gettype!(3).