Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tis_getspecific(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

tis_key_create(3)

tis_key_delete(3)

tis_setspecific(3)

tis_getspecific(3)  —  Subroutines

NAME

tis_getspecific − Obtains the data associated with the specified thread-specific data key

SYNOPSIS

#include <tis.h>
void ∗tis_getspecific(
        pthread_key_t key );

LIBRARY

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

STANDARDS

None

PARAMETERS

keyIdentifies a value returned by a call to tis_key_create(3). This routine returns the data value associated with the thread-specific data key. 

DESCRIPTION

This routine returns the value currently bound to the specified thread-specific data key. 

This routine can be called from a data destructor function. 

When threads are present, the data and keys are thread specific; they enable a library to maintain context on a per-thread basis. 

RETURN VALUES

No errors are returned. This routine returns the data value associated with the specified thread-specific data key key. If no data value is associated with key, or if key is not defined, then a NULL value is returned. 

SEE ALSO

Functions: tis_key_create(3), tis_key_delete(3), tis_setspecific(3)

Manuals: Guide to DECthreads and Programmer’s Guide

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