| THRD_EQUAL(3C) | Standard C Library Functions | THRD_EQUAL(3C) |
thrd_equal —
determine if threads are equal
#include
<threads.h>
int
thrd_equal(thrd_t thrd0,
thrd_t thrd1);
The
thrd_equal()
function compares thrd0 and
thrd1 and determines whether or not they refer to the
same thread.
The thrd_equal() function returns
non-zero
if thrd0 and thrd1 refer to the
same thread. Otherwise,
0 is returned,
indicating that thrd0 and thrd1
are different threads.
| January 19, 2017 | OmniOS |