VMS Help
POSIX Threads, TIS routines, tis_self
*Conan The Librarian
|
Returns the identifier of the calling thread.
#include <tis.h>
pthread_t
tis_self (void);
None
This routine allows a thread to obtain its own thread identifier.
This value becomes meaningless when the thread is destroyed.
Note that the initial thread in a process can "change identity"
when thread system initialization completes-that is, when the
multithreading run-time environment is loaded.
Returns the thread identifier of the calling thread.
pthread_create()