HP-UX Reference (11i v1 05/09) - 3 Library Functions N-Z (vol 7)

Table of Contents
Volumes Six and Seven
Entry Name(Section): name Description
pthread_mutexattr_getpshared(3T): pthread_mutexattr_getpshared(),
pthread_mutexattr_setpshared(), pthread_mutexattr_gettype(),
pthread_mutexattr_settype()
...................................................................... get and set the process-shared attribute and type attribute
pthread_mutexattr_getspin_np(3T): pthread_mutexattr_getspin_np(),
pthread_mutexattr_setspin_np(), pthread_mutex_getyieldfreq_np(),
pthread_mutex_setyieldfreq_np() ....................... get or set the spin and yield frequency attributes
pthread_mutexattr_gettype(): get the type attribute .............. see pthread_mutexattr_getpshared(3T)
pthread_mutexattr_init(3T): pthread_mutexattr_init(), pthread_mutexattr_destroy()
............................................................................................ initialize or destroy a mutex attribute object
pthread_mutexattr_setprioceiling(): set the prioceiling attribute
.................................................................................................... see pthread_mutex_getprotocol(3T)
pthread_mutexattr_setprotocol(): set the protocol attribute ....... see pthread_mutex_getprotocol(3T)
pthread_mutexattr_setpshared(): set the process-shared attribute
.............................................................................................. see pthread_mutexattr_getpshared(3T)
pthread_mutexattr_setspin_np(): set the spin attribute ................ see pthread_mutex_getspin_np(3T)
pthread_mutexattr_settype(): set the type attribute .............. see pthread_mutexattr_getpshared(3T)
pthread_num_ldomprocs_np(): number of processors in locality
domain ........................................................................................ see pthread_processor_bind_np(3T)
pthread_num_ldoms_np(): number of locality domains on system ..... see pthread_processor_bind_np(3T)
pthread_num_processors_np(): determined how many processors
are available ................................................................................ see pthread_processor_bind_np(3T)
pthread_once(3T): pthread_once() ................................................... call an initialization routine only once
pthread_processor_bind_np(3T): pthread_processor_bind_np(), pthread_ldom_bind_np(),
pthread_ldom_id_np(), pthread_num_ldomprocs_np(), pthread_num_ldoms_np(),
pthread_num_processors_np(), pthread_processor_id_np(), pthread_pset_bind_np(),
pthread_spu_to_ldom_np() ..................... determine available processors, available locality domains,
and locality domain IDs; bind threads; change thread binding
pthread_processor_id_np(): bind threads to processors ................ see pthread_processor_bind_np(3T)
pthread_pset_bind_np(): bind threads to processor set .................. see pthread_processor_bind_np(3T)
pthread_resume_np(3T): pthread_continue(), pthread_resume_np(), pthread_suspend()
.................................................................................. continue, resume, or suspend execution of a thread
pthread_rwlock_destroy(): destroy a read-write lock ................................. see pthread_rwlock_init(3T)
pthread_rwlock_init(3T): pthread_rwlock_init(), pthread_rwlock_destroy()
....................................................................................................... initialize or destroy a read-write lock
pthread_rwlock_rdlock(3T): pthread_rwlock_rdlock(), pthread_rwlock_tryrdlock()
................................................................................ lock or attempt to lock a read-write lock for reading
pthread_rwlock_tryrdlock(): attempt to lock a read-write lock for reading
........................................................................................................... see pthread_rwlock_rdlock(3T)
pthread_rwlock_trywrlock(): attempt to lock a read-write lock for writing
.......................................................................................................... see pthread_rwlock_wrlock(3T)
pthread_rwlock_unlock(3T): pthread_rwlock_unlock() ..................................... unlock a read-write lock
pthread_rwlock_wrlock(3T): pthread_rwlock_wrlock(), pthread_rwlock_trywrlock()
................................................................................. lock or attempt to lock a read-write lock for writing
pthread_rwlockattr_destroy(): destroy a read-write lock attribute object
.......................................................................................................... see pthread_rwlockattr_init(3T)
pthread_rwlockattr_getpshared(3T): pthread_rwlockattr_getpshared(),
pthread_rwlockattr_setpshared() ....................................... get or set the process-shared attribute
pthread_rwlockattr_init(3T): pthread_rwlockattr_init(), pthread_rwlockattr_destroy()
............................................................................... initialize or destroy a read-write lock attribute object
pthread_rwlockattr_setpshared(): set the process-shared attribute
............................................................................................ see pthread_rwlockattr_getpshared(3T)
pthread_self(3T): pthread_self() .............................................. obtain the thread ID for the calling thread
pthread_setcancelstate(3T): pthread_setcanceltype(), pthread_setcancelstate()
............................................................. set and retrieve the current thread’s cancelability state and type
pthread_setcanceltype(): set and retrieve the current thread’s cancelability type
............................................................................................................ see pthread_setcancelstate(3T)
pthread_setconcurrency(): set concurrency level of unbound threads . see pthread_getconcurrency(3T)
pthread_setschedparam(): set or get the scheduling policy and associated parameters
.......................................................................................................... see pthread_getschedparam(3T)
pthread_setspecific(): set the thread-specific data associated with a key .... see pthread_getspecific(3T)
HP-UX 11i Version 1: September 2005 Hewlett-Packard Company xxxi