pthread_mutexattr_getspin_np.3t (2010 09)
p
pthread_mutexattr_getspin_np(3T) pthread_mutexattr_getspin_np(3T)
(Pthread Library)
application itself may require retuning of these attributes.
The programmer must analyze performance carefully to obtain an understanding of mutex contention
within the application. Then, experiment with different attribute values, evaluating how mutex conten-
tion is affected, response time, and CPU consumption.
AUTHOR
pthread_mutexattr_getspin_np()
, pthread_mutexattr_setspin_np()
,
pthread_mutex_getyieldfreq_np()
, pthread_mutex_setyieldfreq_np()
,
pthread_mutexattr_disable_handoff_np()
, and
pthread_mutex_disable_handoff_np()
were developed by HP.
SEE ALSO
pthread_create(3T), pthread_mutex_init(3T), pthread_mutexattr_init(3T), rtsched(2)
STANDARDS CONFORMANCE
pthread_mutexattr_setspin_np()
: None.
pthread_mutexattr_getspin_np()
: None.
pthread_mutex_setyieldfreq_np()
: None.
pthread_mutex_getyieldfreq_np()
: None.
pthread_mutexattr_disable_handoff_np()
: None.
pthread_mutex_disable_handoff_np()
: None.
HP-UX 11i Version 3: September 2010 − 3 − Hewlett-Packard Company 3