Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > P

pthread_equal(3T)

Pthread Library
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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.

STANDARDS CONFORMANCE

pthread_equal(): POSIX 1003.1c.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.