thrd_equal
<
c
|
thread
定义于头文件
<threads.h>
int
thrd_equal
(
thrd_t
lhs,
thrd_t
rhs
)
;
(C11 起)
检查
lhs
与
rhs
是否表示同一线程。
参数
lhs, rhs
-
要比较的线程
返回值
若
lhs
与
rhs
表示同一线程则为非零值,否则为
0
。
引用
C11 标准(ISO/IEC 9899:2011):
7.26.5.4 The thrd_equal function (p: 384)
参阅