HP-UX Reference (11i v2 07/12) - 3 Library Functions N-Z (vol 7)

p
pthread_attr_getdetachstate(3T) pthread_attr_getdetachstate(3T)
(Pthread Library)
stacksize This parameter either specifies the new value of the stacksize attribute (set function)
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 function)
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 function)
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 func-
tion) 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 func-
tion) 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 function)
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 func-
tion) 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_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.
pthread_attr_setschedpolicy() - set the schedpolicy attribute.
pthread_attr_getschedpolicy() - get the schedpolicy attribute.
pthread_attr_setschedparam() - set the schedparam attributes.
HP-UX 11i Version 2: December 2007 Update − 2 − Hewlett-Packard Company 187