]>
Commit | Line | Data |
---|---|---|
5afdca00 UD |
1 | .TH PTHREAD_EQUAL 3 LinuxThreads |
2 | ||
3 | .SH NAME | |
4 | pthread_equal \- compare two thread identifiers | |
5 | ||
6 | .SH SYNOPSIS | |
7 | #include <pthread.h> | |
8 | ||
9 | int pthread_equal(pthread_t thread1, pthread_t thread2); | |
10 | ||
11 | .SH DESCRIPTION | |
12 | !pthread_equal! determines if two thread identifiers refer to the same | |
13 | thread. | |
14 | ||
15 | .SH "RETURN VALUE" | |
16 | A non-zero value is returned if |thread1| and |thread2| refer to the | |
17 | same thread. Otherwise, 0 is returned. | |
18 | ||
19 | .SH AUTHOR | |
20 | Xavier Leroy <Xavier.Leroy@inria.fr> | |
21 | ||
22 | .SH "SEE ALSO" | |
23 | !pthread_self!(3). |