tss_set

From cppreference.com
< c‎ | thread
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.

[edit] Parameters

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

[edit] Return value

thrd_success if successful, thrd_error otherwise.

[edit] See also

(C11)
reads from thread-specific storage
(function)