23 #ifndef __ccxx_ThreadLocal_hxx 24 #define __ccxx_ThreadLocal_hxx 31 #ifdef CCXX_OS_WINDOWS 32 #include <commonc++/Windows.h++> 122 #ifdef CCXX_OS_WINDOWS 128 static void keyDestructor(
void* arg);
133 #include <commonc++/ThreadLocalImpl.h++> 137 #endif // __ccxx_ThreadLocal_hxx
T * getValue()
Get the value of the thread-local object for the calling thread.
T * operator->()
Pointer operator.
virtual ~ThreadLocal()
Destructor.
void setValue(T *value)
Set the value of the thread-local object for the calling thread.
ThreadLocal()
Construct a new ThreadLocal object.
static int getSlotCount()
Get the maximum number of thread-local storage slots available on this platform.
virtual T * initialValue()
Provide the intial value of the thread-local object for the calling thread.
Thread-local storage smart pointer.
Definition: ThreadLocal.h++:51
Definition: AllocationMap.c++:25
T & operator*()
Pointer-dereference operator.