Constants
- A flag that allows to distinguish
PTHREAD_MUTEX_NORMAL
fromPTHREAD_MUTEX_DEFAULT
. Since inglibc
they have the same numeric values, but different behaviour, we need a way to distinguish them. We do this by setting this bit flag to thePTHREAD_MUTEX_NORMAL
mutexes. See the comment inpthread_mutexattr_settype
function.
Traits
Functions
- After a thread waiting on a condvar was signalled: Reacquire the conditional variable and remove the timeout callback if any was registered.
- Try to reacquire the mutex associated with the condition variable after we were signaled.
- Release the mutex associated with the condition variable because we are entering the waiting state.