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.
lhs, rhs | - | threads to compare |
Non-zero value if lhs
and rhs
refer to the same value, 0
otherwise.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/c/thread/thrd_equal