VMS Help
POSIX Threads, PTHREAD routines, pthread_attr_getstacksize
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Obtains the stacksize attribute of the specified thread
attributes object.
#include <pthread.h>
int
pthread_attr_getstacksize (
const pthread_attr_t *attr,
size_t *stacksize);
attr
Thread attributes object whose stacksize attribute is obtained.
stacksize
Receives the value for the stacksize attribute of the thread
attributes object specified by the attr argument.
This routine obtains the stacksize attribute of the thread
attributes object specified in the attr argument.
On successful completion, this routine returns a zero (0) and
the stacksize value in bytes in the location specified in the
stacksize argument.
If an error condition occurs, this routine returns an integer
value indicating the type of error. Possible return values are as
follows:
Return Description
0 Successful completion.
[EINVAL] The value specified by attr is not a valid stack
attributes object.
pthread_attr_init()
pthread_attr_setstacksize()
pthread_create()
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.