18 #ifndef _LOG4CXX_HELPERS_THREAD_LOCAL_H
19 #define _LOG4CXX_HELPERS_THREAD_LOCAL_H
20 #if LOG4CXX_ABI_VERSION <= 15
22 #include <log4cxx/log4cxx.h>
25 #if !defined(LOG4CXX_THREAD_FUNC)
27 #define LOG4CXX_THREAD_FUNC __stdcall
29 #define LOG4CXX_THREAD_FUNC
35 struct apr_threadkey_t;
81 static apr_threadkey_t* create(
Pool& p);
Definition: threadlocal.h:50
void * get()
Returns the value in the current thread's copy of this thread-local variable.
~ThreadLocal()
Destructor.
ThreadLocal()
Create new instance.
void set(void *priv)
Sets the value in the current thread's copy of this thread-local variable.