10#ifndef _LOG4CPP_THREADING_DUMMYTHREADS_HH
11#define _LOG4CPP_THREADING_DUMMYTHREADS_HH
32 template<
typename T>
class ThreadLocalDataHolder {
42 inline T*
get()
const {
56 inline void reset(T* p = NULL) {
~ThreadLocalDataHolder()
Definition: DummyThreads.hh:37
T data_type
Definition: DummyThreads.hh:34
ThreadLocalDataHolder()
Definition: DummyThreads.hh:36
T * operator->() const
Definition: DummyThreads.hh:46
T & operator*() const
Definition: DummyThreads.hh:47
T * get() const
Definition: DummyThreads.hh:42
void reset(T *p=NULL)
Definition: DummyThreads.hh:56
T * release()
Definition: DummyThreads.hh:49
boost::mutex Mutex
Dummy type 'int' for Mutex.
Definition: BoostThreads.hh:29
boost::mutex::scoped_lock ScopedLock
Dummy type 'int' defintion of ScopedLock;.
Definition: BoostThreads.hh:30
static std::string getThreadId()
Return an identifier for the current thread.
Definition: BoostThreads.hh:22
The top level namespace for all 'Log for C++' types and classes.
Definition: AbortAppender.hh:16