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 identifiers
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 specifies the first thread identifier to be compared.
t2 specifies the second thread identifier to be compared.
DESCRIPTION
This function compares two thread identifiers.
NOTES
If either t1 or t2 is not a valid thread identifier, this function’s behavior is undefined.
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 specification. 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 file spthread.h is an HP exception to the POSIX standard.
5−60 Hewlett-Packard Company 527186-003