tis_self(3) Library Functions Manual tis_self(3)
NAME
tis_self - Obtains the identifier of the calling thread.
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <tis.h>
pthread_t tis_self(void);
STANDARDS
None
PARAMETERS
None
DESCRIPTION
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 multi-
threading run-time environment is loaded.
RETURN VALUES
Returns the thread identifier of the calling thread.
ERRORS
None
RELATED INFORMATION
Functions: pthread_create(3)
Manuals: Guide to DECthreads and Programmer's Guide
delim off
tis_self(3)