Manual Page Result
0
Command: tis_self | Section: 3 | Source: Digital UNIX | File: tis_self.3.gz
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 sys-
tem initialization completes--that is, when the DECthreads multithread-
ing 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)