pthread_equal(3-thr) pthread_equal(3-thr)
NAME
pthreadequal - compares one thread identifier to another thread iden-
tifier
SYNOPSIS
#include <pthread.h>
boolean32 pthreadequal(
pthreadt *thread1,
pthreadt *thread2);
PARAMETERS
thread1 The first thread identifier to be compared.
thread2 The second thread identifier to be compared.
DESCRIPTION
This routine compares one thread identifier to another thread identif-
ier. (This routine does not check whether the objects that correspond
to the identifiers currently exist.) If the identifiers have values
indicating that they designate the same object, 1 (true) is returned.
If the values do not designate the same object, 0 (false) is returned.
This routine is implemented as a C macro.
RETURN VALUES
Possible return values are as follows:
0 Values of thread1 and thread2 do not designate the same object.
1 Values of thread1 and thread2 designate the same object.
SEE ALSO
pthreadcreate(3-thr).
Page 1 Reliant UNIX 5.44 Printed 11/98