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
34 struct apr_threadkey_t;
78 static apr_threadkey_t* create(
Pool& p);
This class provides thread-local variables.
Definition: threadlocal.h:47
~ThreadLocal()
Destructor.
ThreadLocal()
Create new instance.
void set(void *priv)
Sets the value in the current thread's copy of this thread-local variable.
void * get()
Returns the value in the current thread's copy of this thread-local variable.