GNU/Linux |
RedHat 9.0(Shrike) |
|
![]() |
pthread_equal(3thr) |
![]() |
pthread_equal − compare two thread identifiers
#include <pthread.h>
int pthread_equal(pthread_t thread1, pthread_t thread2);
pthread_equal determines if two thread identifiers refer to the same thread.
A non-zero value is returned if thread1 and thread2 refer to the same thread. Otherwise, 0 is returned.
Xavier Leroy <Xavier.Leroy@inria.fr>
pthread_self(3).
![]() |
pthread_equal(3thr) | ![]() |