NAME
pthread_equal() — compare two thread identifiers. 
SYNOPSIS
#include <pthread.h> 
int pthread_equal( 
   pthread_t t1, 
   pthread_t t2 
); 
PARAMETERS
- t1 
 First thread ID to be compared.
- t2 
 Second thread ID to be compared.
DESCRIPTION
pthread_equal()
compares the thread IDs 
t1 
and
t2.
Thread IDs
are opaque data types. They should be compared only with this
function.
RETURN VALUE
pthread_equal()
returns a nonzero value if the two thread IDs
are equal; otherwise, zero is returned.
This function does not verify that
t1 
or
t2 
are valid thread IDs.
AUTHOR
pthread_equal()
was derived from the IEEE POSIX P1003.1c standard.
STANDARDS CONFORMANCE
pthread_equal(): POSIX 1003.1c.