static void * GetPointer(IndexT slot)
get thread local pointer value
Definition linuxthreadlocaldata.cc:89
static void SetPointer(IndexT slot, void *ptr)
set thread local pointer value (must only be called once)
Definition linuxthreadlocaldata.cc:76
static void ClearPointer(IndexT slot)
clear pointer (must only be called after SetPointer)
Definition linuxthreadlocaldata.cc:101
A thread-local pointer class for platforms which don't have proper support for the __thread keyword.
Definition linuxthreadlocalptr.h:18
LinuxThreadLocalPtr()
constructor
Definition linuxthreadlocalptr.cc:15
IndexT slot
Definition linuxthreadlocalptr.h:30
void Clear()
clear the pointer
Definition linuxthreadlocalptr.h:55
void * Get() const
get pointer
Definition linuxthreadlocalptr.h:46
void Set(void *ptr)
set pointer
Definition linuxthreadlocalptr.h:37
Definition linuxcompletioncounter.h:15
int IndexT
Definition types.h:48