HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
p
pthread_equal(3T) pthread_equal(3T)
(Pthread Library)
NAME
pthread_equal() - compare two thread identifiers
SYNOPSIS
#include <pthread.h>
int pthread_equal(
pthread_t t1,
pthread_t t2
);
PARAMETERS
t1 First thread ID to be compared.
t2 Second thread ID to be compared.
DESCRIPTION
pthread_equal() compares the thread IDs t1 and t2. Thread IDs are opaque data types. They
should be compared only with this function.
RETURN VALUE
pthread_equal() returns a nonzero value if the two thread IDs are equal; otherwise, zero is returned.
This function does not verify that t1 or t2 are valid thread IDs.
ERRORS
None.
AUTHOR
pthread_equal() was derived from the IEEE POSIX P1003.1c standard.
SEE ALSO
pthread_create(3T), pthread_self(3T).
STANDARDS CONFORMANCE
pthread_equal(): POSIX 1003.1c.
Section 3674 1 HP-UX Release 11i: December 2000
___
___