RTEMS 4.6.99.3 On-Line Library
Thread Manager pthread_attr_getstacksize - Get Thread Stack Size
RTEMS POSIX API User's Guide
17.4.6: pthread_attr_getstacksize - Get Thread Stack Size
CALLING SEQUENCE:
-
#include <pthread.h>
int pthread_attr_getstacksize(
const pthread_attr_t *attr,
size_t *stacksize
);
STATUS CODES:
- EINVAL
-
The attribute pointer argument is invalid.
- EINVAL
-
The attribute set is not initialized.
- EINVAL
-
The stacksize pointer argument is invalid.
DESCRIPTION:
The pthread_attr_getstacksize
routine is used to obtain the
stacksize
attribute in the attr
thread attribute
object.
NOTES:
As required by POSIX, RTEMS defines the feature symbol
_POSIX_THREAD_ATTR_STACKSIZE
to indicate that this
routine is supported.
RTEMS POSIX API User's Guide
Copyright © 1988-2004 OAR Corporation