Index of Section 2 Manual Pages
| Interix / SUA | pthread_equal.2 | Interix / SUA |
pthread_equal(2) pthread_equal(2)
pthread_equal()
NAME
pthread_equal() - compare thread IDs
SYNOPSIS
#include
int pthread_equal(pthread_t t1, pthread_t t2);
DESCRIPTION
The pthread_equal(2) function determines whether the t1 and t2 arguments
identify the same thread.
RETURN VALUES
If t1 and t2 are equal, the function returns a nonzero value; otherwise,
zero is returned.
ERRORS
None.
SEE ALSO
pthread_create()
pthread_self()
USAGE NOTES
The pthread_equal function is thread safe.
The pthread_equal function is not async-signal safe.