thrd_success, thrd_timedout, thrd_busy, thrd_nomem, thrd_error
来自cppreference.com
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
在头文件 <threads.h> 中定义
|
||
enum { thrd_success = /* unspecified */, |
(C11 起) | |
Identifiers a thread error state.
常数
|
Explanation |
thrd_success
|
indicates successful return value |
thrd_timedout
|
indicates timed out return value |
thrd_busy
|
indicates unsuccessful return value due to resource temporary unavailable |
thrd_nomem
|
indicates unsuccessful return value due to out of memory condition |
thrd_error
|
indicates unsuccessful return value |