Compares one thread identifier to another thread identifier.
pthread_equal(
t1,
t2);
Argument Data Type Access
t1 opaque pthread_t read
t2 opaque pthread_t read
#includeint pthread_equal ( pthread_t t1, pthread_t t2);
If either t1 or t2 are not valid thread IDs, the behavior is undefined.
Return Description0 Values of t1 and t2 do not designate the same object. Non-zero Values of t1 and t2 designate the same object.