Base Framework
|
Thread local variable. More...
#include <base/concurrency/ThreadKey.h>
Inherits ThreadKeyImpl.
Public Member Functions | |
ThreadKey () | |
TYPE * | getKey () const |
void | setKey (TYPE *value) |
Thread local variable.
This class allows global and static variables to hold thread-specific data.
|
inline |
Returns the key.
|
inline |
Sets the key.
value | The desired value of the key for the executing thread. |