名前空間
変種

thrd_equal

提供: cppreference.com
< c | thread
<tbody> </tbody>
ヘッダ <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++リファレンス
Morty Proxy This is a proxified and sanitized view of the page, visit original site.