PTHREAD_EQUAL(3) BSD Programmer's Manual PTHREAD_EQUAL(3)NAME
pthread_equal - compare two pthreads for equality
SYNOPSIS
#include <pthread.h>
int
pthread_equal(pthread_t t1, pthread_t t2);
DESCRIPTION
This interface is defined by IEEE Std1003.1c (``POSIX'').
The pthread_equal() function compares two thread IDs for equality.
RETURN VALUES
If t1 and t2 are equal, pthread_equal() returns non-zero. Otherwise, ze-
ro is returned.
SEE ALSOpthreads(3), pthread_self(3)STANDARDS
The pthread_equal function conforms to IEEE Std1003.1c (``POSIX'').
HISTORY
The pthread_equal function first appeared in BSD/OS 3.0.
4th Berkeley Distribution June 3, 1996 1