Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pthread_equal(3T) — SunOS 5.5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pthread_create(3T)

pthread_self(3T)

pthread_equal(3T)

NAME

pthread_equal − compare thread IDs

SYNOPSIS

#include <pthread.h>

int pthread_equal(pthread_t t1, pthread_t t2);

MT-LEVEL

MT-Safe

DESCRIPTION

The pthread_equal() function compares the thread IDs t1 and t2.

RETURN VALUES

If t1 and t2 are equal, pthread_equal() returns a non-zero value; otherwise, 0 is returned. 

If either t1 or t2 is an invalid thread ID, the result is unpredictable. 

SEE ALSO

pthread_create(3T), pthread_self(3T)

NOTES

Solaris thread IDs do not require an equal function because the thread_t structure is really an unsigned int. 

SunOS 5.5.1  —  Last change: 30 Jun 1995

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