HP-UX Reference (11i v2 07/12) - 5 Miscellaneous (vol 9)
p
pthread_scope_options(5) pthread_scope_options(5)
3. If the following environmental variables are set (say, using sh-posix):
export PTHREAD_DEFAULT_SCOPE_PROCESS=1
export PTHREAD_FORCE_SCOPE_SYSTEM=ON
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 2: December 2007 Update − 3 − Hewlett-Packard Company 333