c/thread/tss set

Sets the value of the thread-specific storage identified by for the current thread to. Different threads may set different values to the same key.

The destructor, if available, is not invoked.

Return value
thrd_success if successful, thrd_error otherwise.