Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pthread_create(3)

pthread_equal(3)  —  Subroutines

OSF

NAME

pthread_equal −  Compares two thread identifiers

LIBRARY

Threads Library (libpthreads.a)

SYNOPSIS

#include <pthread.h>
int pthread_equal(
pthread_t t1,
pthread_t t2 );

PARAMETERS

t1Specifies a thread to be compared with the thread represented by t2. 

t2Specfies a thread to be compared with the thread represented by t1. 

DESCRIPTION

The pthread_equal() function determines whether two thread identifiers are equivalent. 

NOTES

This interface is based on draft 4 of the IEEE P1003.4a standard, and will be changed to conform to the final version. 

RETURN VALUES

If t1 is equal to t2, a nonzero value is returned.  Otherwise, 0 (zero) is returned. 

RELATED INFORMATION

Functions: pthread_create(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026