mtx_plain, mtx_recursive, mtx_timed
在标头
<threads.h> 定义 |
||
enum {
mtx_plain = /* 未指明 */, |
(C11 起) | |
传递给 mtx_init 时,标识要创建的互斥体类型。
常量 | 解释 |
mtx_plain |
平常互斥体 |
mtx_recursive |
递归互斥体 |
mtx_timed |
定时互斥体 |
引用
- C17 标准(ISO/IEC 9899:2018):
-
- 7.26.1/5 mtx_plain, mtx_recursive, mtx_timed (第 274-275 页)
- C11 标准(ISO/IEC 9899:2011):
-
- 7.26.1/5 mtx_plain, mtx_recursive, mtx_timed (第 377 页)
参阅
(C11)
|
创建互斥体 (函数) |