HP-UX Reference (11i v2 07/12) - 3 Library Functions N-Z (vol 7)
Table of Contents
Volumes Six and Seven
Entry Name(Section): name Description
pthread_mutex_disable_handoff_np() ... get and set the mutex spin and yield frequency attributes;
disable mutex-specific or process-wide mutex handoff mode
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 mutex spin attribute
.............................................................................................. see pthread_mutexattr_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_num_processors_np(), pthread_processor_bind_np(),
pthread_pset_bind_np(), pthread_processor_id_np()
pthread_num_ldoms_np(), pthread_num_ldomprocs_np(), pthread_spu_to_ldom_np(),
pthread_ldom_bind_np(), pthread_ldom_id_np() .................... determine number of processors or
locality domains, available, processor IDs, locality domain IDs, and bind threads to processors and
locality domains
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 scheduling policy and associated parameters
.......................................................................................................... see pthread_getschedparam(3T)
pthread_setspecific(): set the thread-specific data associated with a key .... see pthread_getspecific(3T)
pthread_sigmask(3T): pthread_sigmask() ........ examine and change the signal mask of the calling thread
pthread_spu_to_ldom_np(): ID of locality domain specified by spu . see pthread_processor_bind_np(3T)
46 Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update