This class is similar in function to java.lang.ThreadLocal.
Public Member Functions | |
ThreadLocal () | |
Create new instance. | |
~ThreadLocal () | |
Destructor. | |
void | set (void *priv) |
Sets the value in the current thread's copy of this thread-local variable. | |
void * | get () |
Returns the value in the current thread's copy of this thread-local variable. |
|
Create new instance.
|
|
Destructor.
|
|
Returns the value in the current thread's copy of this thread-local variable.
|
|
Sets the value in the current thread's copy of this thread-local variable.
|