#include <pthread.h> int pthread_attr_init( pthread_attr_t *attr );
The pthread_attr_init
routine initializes the thread attributes
object specified by attr
with the default value for all of the
individual attributes.
The settings in the default attributes are implementation defined. For RTEMS, the default attributes are as follows:
PTHREAD_MINIMUM_STACK_SIZE
.
PTHREAD_SCOPE_PROCESS
.
PTHREAD_INHERIT_SCHED
to indicate that the created
thread inherits its scheduling attributes from its parent.
PTHREAD_CREATE_JOINABLE
.
Copyright © 1988-2007OAR Corporation