18 #ifndef _LOG4CXX_HELPERS_THREAD_LOCAL_H
19 #define _LOG4CXX_HELPERS_THREAD_LOCAL_H
21 #include <log4cxx/log4cxx.h>
24 #if !defined(LOG4CXX_THREAD_FUNC)
26 #define LOG4CXX_THREAD_FUNC __stdcall
28 #define LOG4CXX_THREAD_FUNC
struct apr_threadkey_t apr_threadkey_t
Definition: aprinitializer.h:31
This class provides thread-local variables.
Definition: threadlocal.h:47
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.
Definition: appender.h:27