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