pthread_attr_getdetachstate.3t (2010 09)

p
pthread_attr_getdetachstate(3T) pthread_attr_getdetachstate(3T)
(Pthread Library)
PARAMETERS
attr Pointer to the thread attributes object whose attributes are to be set/retrieved.
detachstate This parameter either specifies the new value of the detachstate attribute (set func-
tion) or it points to the memory location where the detachstate attribute of attr is to
be returned (get function).
stacksize This parameter either specifies the new value of the stacksize attribute (set func-
tion) or it points to the memory location where the stacksize attribute of attr is to be
returned (get function).
rsestacksize This parameter either specifies the new value of the rsestacksize attribute (set func-
tion) or it points to the memory location where the rsestacksize attribute of attr is to
be returned (get function).
stackaddr This parameter either specifies the new value of the stackaddr attribute (set func-
tion) or it points to the memory location where the stackaddr attribute of attr is to
be returned (get function).
guardsize This parameter either specifies the new value of the guardsize attribute (set func-
tion) or it points to the memory location where the guardsize attribute of attr is to
be returned (get function).
inheritsched This parameter either specifies the new value of the inheritsched attribute (set
function) or it points to the memory location where the inheritsched attribute of attr
is to be returned (get function).
policy This parameter either specifies the new value of the schedpolicy attribute (set func-
tion) or it points to the memory location where the schedpolicy attribute of attr is to
be returned (get function).
param This parameter either specifies the new values of the schedparam attributes (set
function) or it points to the memory location where the schedparam attributes of
attr are to be returned (get function).
contentionscope
This parameter either specifies the new value of the contentionscope attribute (set
function) or it points to the memory location where the contentionscope attribute of
attr is to be returned (get function).
processor This parameter either specifies the new value of the processor attribute (set func-
tion) or it points to the memory location where the processor attribute of attr is to be
returned (get function).
binding_type This parameter either specifies the new value of the binding_type attribute (set
function) or it points to the memory location where the binding_type attribute of
attr is to be returned (get function).
DESCRIPTION
These functions set and get the attributes as described below.
pthread_attr_setdetachstate() - set the detachstate attribute.
pthread_attr_getdetachstate() - get the detachstate attribute.
pthread_attr_setstacksize() - set the stacksize attribute.
pthread_attr_getstacksize() - get the stacksize attribute.
pthread_attr_setrsestacksize_np() - set the rsestacksize attribute.
pthread_attr_getrsestacksize_np() - get the rsestacksize attribute.
pthread_attr_setstackaddr() - set the stackaddr attribute.
pthread_attr_getstackaddr() - get the stackaddr attribute.
pthread_attr_setstack() - set the stacksize, stackaddr attributes.
pthread_attr_getstack() - get the stacksize, stackaddr attributes.
pthread_attr_setguardsize() - set the guardsize attribute.
pthread_attr_getguardsize() - get the guardsize attribute.
pthread_attr_setinheritsched() - set the inheritsched attribute.
pthread_attr_getinheritsched() - get the inheritsched attribute.
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010