a48c784cc4
A mutex may be configured with rather exotic options such as recursive, unsafe, etc. The availability of these mutex options is controlled by configuation settings. When each option is enabled, additional fields are managed inside of the mutex structure. pthread_cond_wait() and pthread_timed_wait() do the following atomically: (1) unlock the mutex, (2) wait for the condition, and (3) restore the mutex lock. When that lock is restored, pthread_cond_[timed]wait() must also restore the exact configuration of the mutex data structure if these "exotic" features are enabled. |
||
---|---|---|
.. | ||
Make.defs | ||
pthread_cancel.c | ||
pthread_cleanup.c | ||
pthread_completejoin.c | ||
pthread_condbroadcast.c | ||
pthread_condsignal.c | ||
pthread_condtimedwait.c | ||
pthread_condwait.c | ||
pthread_create.c | ||
pthread_detach.c | ||
pthread_exit.c | ||
pthread_findjoininfo.c | ||
pthread_get_stackaddr_np.c | ||
pthread_get_stacksize_np.c | ||
pthread_getaffinity.c | ||
pthread_getschedparam.c | ||
pthread_getspecific.c | ||
pthread_initialize.c | ||
pthread_join.c | ||
pthread_keycreate.c | ||
pthread_keydelete.c | ||
pthread_kill.c | ||
pthread_mutex.c | ||
pthread_mutexconsistent.c | ||
pthread_mutexdestroy.c | ||
pthread_mutexinconsistent.c | ||
pthread_mutexinit.c | ||
pthread_mutextimedlock.c | ||
pthread_mutextrylock.c | ||
pthread_mutexunlock.c | ||
pthread_release.c | ||
pthread_setaffinity.c | ||
pthread_setschedparam.c | ||
pthread_setschedprio.c | ||
pthread_setspecific.c | ||
pthread_sigmask.c | ||
pthread.h |