HP-UX Reference (11i v3 07/02) - 5 Miscellaneous Topics (vol 9)
p
pthread_scope_options(5) pthread_scope_options(5)
PTHREAD_FORCE_SCOPE_SYSTEM
will take higher precedence, and system scope is forced for all
the threads created in the process.
4. If the following environmental variables are set (say, using sh-posix):
export PTHREAD_DEFAULT_SCOPE_SYSTEM=on
export PTHREAD_FORCE_SCOPE_PROCESS=ON
PTHREAD_FORCE_SCOPE_PROCESS
will take higher precedence, and process scope is forced for all
the threads created in the process.
SEE ALSO
pthread(3T), pthread_attr_init(3T), pthread_attr_setscope(3T).
HP-UX 11i Version 3: February 2007 − 3 − Hewlett-Packard Company 383