RTEMS Logo

RTEMS 4.8.0 On-Line Library


Mutex Manager pthread_mutexattr_getprotocol - Get the Blocking Protocol

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

10.4.4: pthread_mutexattr_getprotocol - Get the Blocking Protocol

CALLING SEQUENCE:

#include <pthread.h>

int pthread_mutexattr_getprotocol(
  pthread_mutexattr_t *attr,
  int                 *protocol
);

STATUS CODES:

EINVAL
The attribute pointer argument is invalid.
EINVAL
The attribute set is not initialized.
EINVAL
The protocol pointer argument is invalid.

DESCRIPTION:

The pthread_mutexattr_getprotocol routine is used to obtain the value of the protocol attribute. This attribute controls the order in which threads waiting on this mutex will receive it.

NOTES:

NONE


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2007OAR Corporation