Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tis_self(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pthread_create(3)

tis_self(3)  —  Subroutines

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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026