tis_self - Obtains the identifier of the calling thread.
Standard C Library (libc.so, libc.a)
This routine allows a thread to obtain its own thread identifier.
This value becomes meaningless when the thread is destroyed.
The initial thread in a process can "change identity" when thread system initialization completes--that is, when the DECthreads multithreading run-time environment is loaded.
Returns the thread identifier of the calling thread.
Manuals: Guide to DECthreads and Programmer's Guide