.TH PTHREAD_EQUAL 3 LinuxThreads .SH NAME pthread_equal \- compare two thread identifiers .SH SYNOPSIS .B #include .BI "int pthread_equal(pthread_t " thread1 ", pthread_t " thread2 ");" .SH DESCRIPTION .B "pthread_equal" determines if two thread identifiers refer to the same thread. .SH "RETURN VALUE" A non-zero value is returned if .I "thread1" and .I "thread2" refer to the same thread. Otherwise, 0 is returned. .SH AUTHOR Xavier Leroy .SH "SEE ALSO" .BR "pthread_self" (3).