Namespaces
Variants
Views
Actions

tss_set

From cppreference.com
< c‎ | thread
Revision as of 13:47, 2 November 2012 by P12bot (Talk | contribs)

Defined in header <threads.h>
int tss_set( tss_t tss_id, void *val );
(since C11)

Sets the value of the thread-specific storage identified by tss_id for the current thread to val.

Parameters

tss_id - identifies the thread-specific storage to modify
val - value to set thread-specific storage to

Return value

thrd_success if successful, thrd_error otherwise.

See also

Template:c/thread/dcl list tss get