pthread_equal - compare thread IDs
#include <pthread.h> int pthread_equal(pthread_t t1, pthread_t t2);
This function compares the thread IDs t1 and t2.
The pthread_equal() function returns a non-zero value if t1 and t2 are equal; otherwise, zero is returned.If either t1 or t2 are not valid thread IDs, the behaviour is undefined.
No errors are defined.The pthread_equal() function will not return an error code of [EINTR].
None.
None.
None.
pthread_create(), pthread_self(), <pthread.h>.
Derived from the POSIX Threads Extension (1003.1c-1995)