Open System Services System Calls Reference Manual (G06.25+, H06.03+)

pthread_equal(2) OSS System Calls Reference Manual
NAME
pthread_equal - Compares two thread identiers
LIBRARY
None. This routine has been implemented as a macro.
SYNOPSIS
#include <spthread.h>
int pthread_equal(
pthread_t t1,
pthread_t t2 );
PARAMETERS
t1 species the rst thread identier to be compared.
t2 species the second thread identier to be compared.
DESCRIPTION
This function compares two thread identiers.
NOTES
If either t1 or t2 is not a valid thread identier, this functions behavior is undened.
RETURN VALUES
Possible return values are:
0 The t1 and t2 parameters do not designate the same object.
Nonzero The t1 and t2 parameters designate the same object.
STANDARDS CONFORMANCE
This function is an extension to the XPG4 Version 2 specication. Interfaces documented on this
reference page conform to the following industry standards:
IEEE Std 1003.1c-1995, POSIX System Application Program Interface
The use of the header le spthread.h is an HP exception to the POSIX standard.
560 Hewlett-Packard Company 527186-003