PTHREADEQUAL(3) BSD Library Functions Manual PTHREADEQUAL(3)
NAME
pthreadequal -- compare thread IDs
SYNOPSIS
##include <>
int
pthreadequal(pthreadt t1, pthreadt t2);
DESCRIPTION
The pthreadequal() function compares the thread IDs t1 and t2.
RETURN VALUES
The pthreadequal() function will return non-zero if the thread IDs t1
and t2 correspond to the same thread, otherwise it will return zero.
ERORS
None.
SEE ALSO
pthreadcreate(3), pthreadexit(3)
STANDARDS
pthreadequal() conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').
BSD April 4, 1996 BSD
|