thread_local
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| 在头文件 <threads.h> 中定义
|
||
| (C11 起) | ||
检查是否
lhsrhs是指在同一个线程中.原文:
Checks whether
lhs and rhs refer to the same thread.[编辑] 参数
| lhs, rhs | - | 线程进行比较
|
[编辑] 返回值
如果非零值
lhsrhs指相同的值,0否则.原文:
Non-zero value if
lhs and rhs refer to the same value, 0 otherwise.