OAR

RTEMS 4.5.0 On-Line Library


Thread Manager pthread_attr_setstackaddr - Set Thread Stack Address

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

17.4.7: pthread_attr_setstackaddr - Set Thread Stack Address

CALLING SEQUENCE:

#include <pthread.h>

int pthread_attr_setstackaddr(
  pthread_attr_t *attr,
  void           *stackaddr
);

STATUS CODES:

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

DESCRIPTION:

The pthread_attr_setstackaddr routine is used to set the stackaddr attribute in the attr thread attribute object.

NOTES:

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.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2000 OAR Corporation