RTEMS 4.0.0 On-Line Library
pthread_attr_setstacksize
RTEMS POSIX API User's Guide
1.4.5: pthread_attr_setstacksize
CALLING SEQUENCE:
-
#include <pthread.h>
int pthread_attr_setstacksize(
pthread_attr_t *attr,
size_t stacksize
);
STATUS CODES:
- EINVAL
-
The attribute pointer argument is invalid.
- EINVAL
-
The attribute set is not initialized.
DESCRIPTION:
NOTES:
If the specified stacksize is below the minimum required for this CPU, then
the stacksize will be set to the minimum for this CPU.
RTEMS POSIX API User's Guide
Copyright © 1988-1998 OAR Corporation