aboutsummaryrefslogtreecommitdiff
path: root/pthreads/manual/pthread_equal.html
blob: 6f610634e4b3d3edded335e37e5f061d56f4a2dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!-- 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 &lt;pthread.h&gt;</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 &lt;Xavier.Leroy@inria.fr&gt; 
<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>