## NAME

pthread_equal - compare thread IDs

## SYNOPSIS

#include <pthread.h>

int pthread_equal(pthread_t t1 , pthread_t t2 );

Callable from ISR.

## 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(), pthread_self()

#### Home page (Kernel)

## < Copyright Rowebots Research Inc. and Multiprocessor Toolsmiths Inc. 1987-2018 >