method
thread_variable_set
v2_5_5 -
Show latest stable
- Class:
Thread
thread_variable_set(p1, p2)public
Sets a thread local with key to value. Note that these are local to threads, and not to fibers. Please see Thread#thread_variable_get and Thread#[] for more information.