silc_thread_tls_set

SYNOPSIS

    void silc_thread_tls_set(void *context);

DESCRIPTION

Sets `context' into the Thread-local storage. Any previously set value will be replaced. This function may be called for the main thread also. This function may be called also if the program does not support threads.

To retrieve the context from the Tls, call silc_thread_tls_get.