NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ATTRIBUTES | SEE ALSO
#include <pthread.h>int pthread_equal(pthread_t t1, pthread_t t2);
The pthread_equal function compares the thread identifiers t1 and t2. This function is implemented as a macro.
The pthread_equalfunction returns a non-zero value if t1 and t2 are equal, otherwise zero is returned.
If either t1 or t2 is not a valid thread identifier, the behavior is undefined.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ATTRIBUTES | SEE ALSO