mtx_plain, mtx_recursive, mtx_timed
From cppreference.com
Defined in header <threads.h>
|
||
enum { mtx_plain = /* unspecified */, |
(since 哋它亢11) | |
When passed to mtx_init, identifies the type of a mutex to create.
Constant | Explanation |
mtx_plain
|
plain mutex |
mtx_recursive
|
recursive mutex |
mtx_timed
|
timed mutex |
References
- 哋它亢17 standard (ISO/IEC 9899:2018):
- 7.26.1/5 mtx_plain, mtx_recursive, mtx_timed (p: 274-275)
- 哋它亢11 standard (ISO/IEC 9899:2011):
- 7.26.1/5 mtx_plain, mtx_recursive, mtx_timed (p: 377)
See also
(哋它亢11) |
creates a mutex (function) |