|
NAMEpthread_mutexattr_getkind_np ,
pthread_mutexattr_setkind_np —
mutex attribute operations (legacy)
LIBRARYPOSIX Threads Library (libpthread, -lpthread)SYNOPSIS#include <pthread_np.h>
int
int
DESCRIPTIONThese functions are deprecated and non-portable
implementation of the mutex type manipulation.
It is recommended to use the pthread_mutexattr_gettype(3) and pthread_mutexattr_settype(3) functions instead. RETURN VALUESThepthread_mutexattr_getkind_np () function returns a
positive value representing the “kind” of the mutex attribute
attr if successful; otherwise the value -1 is returned
and the global variable errno is set to indicate the
error.
ERRORSThepthread_mutexattr_getkind_np () and
pthread_mutexattr_setkind_np () functions will fail if:
SEE ALSOpthread_mutex_destroy(3), pthread_mutex_init(3), pthread_mutexattr_gettype(3), pthread_mutexattr_settype(3), pthread_np(3)
Visit the GSP FreeBSD Man Page Interface. |