pthread_equal3
Compare thread ids
Usage
#include <pthread.h>
int
pthread_equal(pthread_t t1, pthread_t t2);
Library
POSIX Threads Library (libpthread, -lpthread)
Overview
The pthread_equal() function compares the thread IDs t1 and t2.
Return values
The pthread_equal() function will return non-zero if the thread IDs t1 and t2 correspond to the same thread, otherwise it will return zero.
Errors
None.
Releases
80 releases since FreeBSD 2.2.7-RELEASE; the text changed 43 times.