#include <pthread.h> int pthread_attr_setstackaddr( pthread_attr_t *attr, void *stackaddr );
The pthread_attr_setstackaddr
routine is used to set the
stackaddr
attribute in the attr
thread attribute
object.
As required by POSIX, RTEMS defines the feature symbol
_POSIX_THREAD_ATTR_STACKADDR
to indicate that this
routine is supported.
It is imperative to the proper operation of the system that each thread have sufficient stack space.
Copyright © 1988-2003 OAR Corporation