名前空間
変種
操作

thrd_equal

提供: cppreference.com
< c‎ | thread
ヘッダ <threads.h> で定義
int thrd_equal( thrd_t lhs, thrd_t rhs );
(C11以上)

lhsrhs が同じスレッドを参照するかどうか調べます。

目次

[編集] 引数

lhs, rhs - 比較するスレッド

[編集] 戻り値

lhsrhs が同じスレッドを参照する場合は非ゼロの値、そうでなければ 0

[編集] 参考文献

  • C11 standard (ISO/IEC 9899:2011):
  • 7.26.5.4 The thrd_equal function (p: 384)

[編集] 関連項目

operator_cmpC++リファレンス