Compares two thread IDs to see if they refer to the same thread.
#include <pthread.h>
int pthread_equal (
pthread_t t1,
pthread_t t2);
(IN) Specifies a thread ID.
(IN) Specifies a thread ID.
Returns nonzero if the two thread IDs refer to the same thread; otherwise, returns 0.