PTHREAD_EQUAL(3P) SysV PTHREAD_EQUAL(3P)
NAME
pthread_equal - Compares two thread identifiers
SYNOPSIS
#include <pthread.h>
int pthread_equal (t1, t2)
pthread_t t1;
pthread_t t2;
DESCRIPTION
The pthread_equal function determines whether two thread identifiers are
equivalent.
The t1 argument specifies a thread to be compared with the thread
represented by t2. The t2 argument specfies a thread to be compared with
the thread represented by t1.
NOTES
This interface is based on draft 4 of the IEEE P1003.4a standard, and
will be changed to conform to the final version.
DIAGNOSTICS
If t1 is equal to t2, a nonzero value is returned. Otherwise, 0 (zero)
is returned.
SEE ALSO
pthread_create(3P)