Documentation Home
>
Multithreaded Programming Guide
>
Chapter 2 Basic Threads Programming
>
The Threads Library
>
Get the Thread Identifier
>
pthread_self(3T)
> Return Values
Multithreaded Programming Guide
Previous
: Get the Thread-Specific Data Key
Next
: Compare Thread IDs
Return Values
Returns the
ID
of the calling thread.
Previous
: Get the Thread-Specific Data Key
Next
: Compare Thread IDs
© 2010, Oracle Corporation and/or its affiliates