next up previous contents index
Next: 18.3.11 pthread_mutexattr_setprotocol: Set the Up: 18.3 POSIX Threads Reference Previous: 18.3.9 pthread_attr_setschedpolicy: Set the

18.3.10 pthread_mutexattr_init: Initialize a mutex attributes object

 

SYNOPSIS

#include <oskit/threads/pthread.h>

int pthread_mutexattr_init(pthread_mutexattr_t *attr);

DESCRIPTION

Initialize an mutex attributes object for use with pthread_mutex_init.

PARAMETERS

attr
A pointer to the pthread_mutexattr_t object representing the attributes for a mutex initialization.

RETURNS

Returns zero on success.

RELATED INFORMATION

pthread_mutex_init, pthread_mutex_setprotocol



University of Utah Flux Research Group