C11 mutex types.
passed to ::mtx_init to create a mutex object that supports neither timeout nor test and return
passed to ::mtx_init to create a mutex object that supports recursive locking
passed to ::mtx_init to create a mutex object that supports timeout
In this implementation this feature is always provided.
passed to ::mtx_init to create a mutex object that deadlocks when locked twice
Consider a deadlock as a feature, here. Without this locking a mutex again is just undefined behavior, so anything could happen.
passed to ::mtx_init to create a mutex object that returns an error when locked twice
used internally
This is meant to accumulate all extra flags that could be distinguished with POSIX mutex. This is not a valid flag to pass to ::mtx_init.
Definition at line 152 of file p99_threads_posix.h.