THRD_EQUAL(3C) Standard C Library Functions THRD_EQUAL(3C)

thrd_equaldetermine if threads are equal

#include <threads.h>

int
thrd_equal(thrd_t thrd0, thrd_t thrd1);

The () function compares thrd0 and thrd1 and determines whether or not they refer to the same thread.

The thrd_equal() function returns if thrd0 and thrd1 refer to the same thread. Otherwise, is returned, indicating that thrd0 and thrd1 are different threads.

attributes(7), threads(7)

January 19, 2017 OmniOS