RTEMS Logo

RTEMS 4.10.2 On-Line Library


Thread Manager pthread_attr_getdetachstate - Get Detach State

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

17.4.4: pthread_attr_getdetachstate - Get Detach State

CALLING SEQUENCE:

#include <pthread.h>

int pthread_attr_getdetachstate(
  const pthread_attr_t *attr,
  int                  *detachstate
);

STATUS CODES:

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

DESCRIPTION:

The pthread_attr_getdetachstate routine is used to obtain the current value of the detachstate attribute as specified by the attr thread attribute object.

NOTES:

NONE


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2008 OAR Corporation