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) {
T & operator*() const
Definition: DummyThreads.hh:47
~ThreadLocalDataHolder()
Definition: DummyThreads.hh:37
T data_type
Definition: DummyThreads.hh:34
T * operator->() const
Definition: DummyThreads.hh:46
ThreadLocalDataHolder()
Definition: DummyThreads.hh:36
T * release()
Definition: DummyThreads.hh:49
boost::mutex Mutex
Dummy type 'int' for Mutex.
Definition: BoostThreads.hh:27
void reset(T *p=NULL)
Definition: DummyThreads.hh:56
static std::string getThreadId()
Return an identifier for the current thread.
Definition: BoostThreads.hh:22
boost::mutex::scoped_lock ScopedLock
Dummy type 'int' defintion of ScopedLock;.
Definition: BoostThreads.hh:30