The pthread_equal function

Name

pthread_equal -- 

Synopsis

#include <pthread.h>

int pthread_equal (pthread_t t1, pthread_t t2);

Description

The pthread_equal function compares the two threads t1 and t2.

Returns

The pthread_equal function returns one if the two threads are the same thread, and zero otherwise.

Implementation Notes

None