Advanced Programming in the UNIX® Environment

(lily) #1
ptg10805159

Index 979

definition of, 434
pthread_mutexattr_initfunction, 431, 438,
445
definition of, 431
pthread_mutexattr_setpsharedfunction,
431
definition of, 431
pthread_mutexattr_setrobustfunction, 432
definition of, 432
pthread_mutexattr_settypefunction, 434,
438, 445
definition of, 434
pthread_mutexattr_tdata type, 430–431, 438,
445
pthread_mutex_consistentfunction,
432 – 433, 571
definition of, 433
PTHREAD_MUTEX_DEFAULTconstant, 433– 434
pthread_mutex_destroyfunction, 400–401,
404, 407
definition of, 400
PTHREAD_MUTEX_ERRORCHECKconstant,
433 – 434
pthread_mutex_initfunction, 400–401, 403,
405, 431, 438, 445, 941
definition of, 400
PTHREAD_MUTEX_INITIALIZERconstant, 400,
403, 405, 408, 416, 431, 449, 455, 459, 813– 814
pthread_mutex_lockfunction, 400–401,
403 – 404, 406–408, 416, 422–423, 432, 438,
445, 450, 456, 459–460, 820–821, 828–830,
832 – 833, 941– 942
definition of, 400
PTHREAD_MUTEX_NORMALconstant, 433– 434
PTHREAD_MUTEX_RECURSIVEconstant, 433–434,
438, 445
PTHREAD_MUTEX_ROBUSTconstant, 432
PTHREAD_MUTEX_STALLEDconstant, 432
pthread_mutex_tdata type, 400–401, 403, 405,
408, 416, 438, 445, 449, 455, 459, 813–814, 940
pthread_mutex_timedlockfunction, 407–409,
413
definition of, 407
pthread_mutex_trylockfunction, 400, 402
definition of, 400
pthread_mutex_unlockfunction, 400–401,
403 – 404, 406–407, 416, 422–423, 438–439,
445, 450, 456, 460, 820–821, 828–830,
832 – 833, 941– 942
definition of, 400
pthread_oncefunction, 445, 448, 450, 928
definition of, 448
PTHREAD_ONCE_INITconstant, 445, 448– 449


pthread_once_tdata type, 445, 449
PTHREAD_PROCESS_PRIVATEconstant, 417, 431,
442
PTHREAD_PROCESS_SHAREDconstant, 417, 431,
442, 571
pthread_rwlockattr_destroyfunction, 439
definition of, 439
pthread_rwlockattr_getpsharedfunction,
440
definition of, 440
pthread_rwlockattr_initfunction, 439
definition of, 439
pthread_rwlockattr_setpsharedfunction,
440
definition of, 440
pthread_rwlockattr_tdata type, 439
pthread_rwlock_destroyfunction, 409– 410
definition of, 409
pthread_rwlock_initfunction, 409, 411
definition of, 409
PTHREAD_RWLOCK_INITIALIZERconstant, 409
pthread_rwlock_rdlockfunction, 410, 412,
452
definition of, 410
pthread_rwlock_tdata type, 411
pthread_rwlock_timedrdlockfunction, 413,
452
definition of, 413
pthread_rwlock_timedwrlockfunction, 413,
452
definition of, 413
pthread_rwlock_tryrdlockfunction, 410
definition of, 410
pthread_rwlock_trywrlockfunction, 410
definition of, 410
pthread_rwlock_unlockfunction, 410– 412
definition of, 410
pthread_rwlock_wrlockfunction, 410–412,
452
definition of, 410
pthreads, 27, 229, 384, 426
pthread_selffunction, 385, 387, 391, 824
definition of, 385
pthread_setcancelstatefunction, 451
definition of, 451
pthread_setcanceltypefunction, 453
definition of, 453
pthread_setspecificfunction, 449– 450
definition of, 449
pthread_sigmaskfunction, 453–454, 477, 815
definition of, 454
pthread_spin_destroyfunction, 417
definition of, 417
Free download pdf