thrd_equal
From cppreference.com
C
Concurrency support (C11)
Concurrency support library
Threads
Atomic operations
(until C23)
Atomic flags
Memory ordering
Mutual exclusion
Condition variables
Thread-local storage
Defined in header
<threads.h>
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