<!-- manual page source format generated by PolyglotMan v3.2, --> <!-- available at http://polyglotman.sourceforge.net/ --> <html> <head> <title>PTHREAD_EQUAL(3) manual page</title> </head> <body bgcolor='white'> <a href='#toc'>Table of Contents</a><p> <p> <h2><a name='sect0' href='#toc0'>Name</a></h2> pthread_equal - compare two thread identifiers <p> <h2><a name='sect1' href='#toc1'>Synopsis</a></h2> <b>#include <pthread.h></b> <p> <b>int pthread_equal(pthread_t </b><i>thread1</i><b>, pthread_t </b><i>thread2</i><b>);</b> <p> <h2><a name='sect2' href='#toc2'>Description</a></h2> <b>pthread_equal</b> determines if two thread identifiers refer to the same thread. <p> <h2><a name='sect3' href='#toc3'>Return Value</a></h2> A non-zero value is returned if <i>thread1</i> and <i>thread2</i> refer to the same thread. Otherwise, 0 is returned. <p> <h2><a name='sect4' href='#toc4'>Author</a></h2> Xavier Leroy <Xavier.Leroy@inria.fr> <p> <h2><a name='sect5' href='#toc5'>See Also</a></h2> <a href='file:pthread_self.html'><b>pthread_self</b>(3)</a> . <p> <hr><p> <a name='toc'><b>Table of Contents</b></a><p> <ul> <li><a name='toc0' href='#sect0'>Name</a></li> <li><a name='toc1' href='#sect1'>Synopsis</a></li> <li><a name='toc2' href='#sect2'>Description</a></li> <li><a name='toc3' href='#sect3'>Return Value</a></li> <li><a name='toc4' href='#sect4'>Author</a></li> <li><a name='toc5' href='#sect5'>See Also</a></li> </ul> </body> </html>