Index Index for
Section 3
Index Alphabetical
listing for T
Bottom of page Bottom of
page

tis_self(3)

NAME

tis_self - Obtains the identifier of the calling thread

SYNOPSIS

#include <tis.h> pthread_t tis_self( void );

LIBRARY

Standard C Library (libc.so, libc.a)

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 multithreading run- time environment is loaded.

RETURN VALUES

Returns the thread identifier of the calling thread.

ERRORS

None

SEE ALSO

Functions: pthread_create(3) Manuals: Guide to DECthreads and Programmer's Guide

Index Index for
Section 3
Index Alphabetical
listing for T
Top of page Top of
page