Compounds | |
class | log4cpp::threading::Mutex |
class | log4cpp::threading::ScopedLock |
definition of ScopedLock;. More... | |
class | log4cpp::threading::ThreadLocalDataHolder::Holder |
class | log4cpp::threading::MSMutex |
A simple object wrapper around CreateMutex() and DeleteMutex(). More... | |
class | log4cpp::threading::MSScopedLock |
A simple object wrapper around WaitForSingleObject() and ReleaseMutex(). More... | |
class | log4cpp::threading::ThreadLocalDataHolder |
This class holds Thread local data of type T, i.e. More... | |
Typedefs | |
typedef boost::mutex | Mutex |
A simple, non recursive Mutex. More... | |
typedef boost::scoped_lock< Mutex > | ScopedLock |
A simple "resource acquisition is initialization" idiom type lock for Mutex. More... | |
typedef boost::thread_specific_ptr | ThreadLocalDataHolder |
Functions | |
std::string | getThreadId () |
Return an identifier for the current thread. More... |
|
A simple, non recursive Mutex. Yes, this adds a bit of overhead in the for of extra memory, but unfortunately 'void' is illegal. |
|
A simple "resource acquisition is initialization" idiom type lock for Mutex. Equivalent to Boost.Threads boost::scoped_lock. |
|
|
|
Return an identifier for the current thread. What these identifiers look like is completely up to the underlying thread library. |