pthread_equal3
Compare thread ids
Usage
#include <pthread.h>
int
pthread_equal(pthread_t t1, pthread_t t2);
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
149 releases since Mac OS X 10.2; the text changed 2 times.