Adelsbach Enhanced Threading Library

Manual Pages (DD-00013-001)

Enhanced Threading Library > tss_get (3)
HTML TXT PDF PS
tss_get(3) Library Functions Manual tss_get(3)

tss_getget thread specific data

library “threads”
#include <threads.h>

void *
tss_get(tss_t *key);

The function () will obtain the thread-specific data for the given data key.

By default the data is NULL if it has not been initialized before.

() can be called from a TSS destructor supplied to tss_create(3).

On success tss_get() will return the thread specific data if it has been set or NULL otherwise.

tss_create(3) tss_set(3) tss_delete(3)

The tss_get() function first appeared in the C11 standard ISO/IEC 9899:2011.

Jan Adelsbach <jan@jadelsbach.de>

May 9, 2020 Debian