Namespaces
Variants
Actions

thrd_equal

From cppreference.com
< c‎ | thread
 
C
 
Concurrency support library
Defined in header <threads.h>
int thrd_equal( thrd_t lhs, thrd_t rhs );
(since C11)

Checks whether lhs and rhs refer to the same thread.

Contents

[edit] Parameters

lhs, rhs - threads to compare

[edit] Return value

Non-zero value if lhs and rhs refer to the same value, 0 otherwise.

[edit] References

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

[edit] See also

C++ documentation for operator_cmp

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant