log4cpp
1.1
|
Classes | |
class | MSMutex |
A simple object wrapper around CreateMutex() and DeleteMutex() More... | |
class | MSScopedLock |
A simple object wrapper around WaitForSingleObject() and ReleaseMutex() More... | |
class | Mutex |
class | ScopedLock |
definition of ScopedLock; More... | |
class | ThreadLocalDataHolder |
This class holds Thread local data of type T, i.e. More... | |
Typedefs | |
typedef boost::mutex | Mutex |
Dummy type 'int' for Mutex. More... | |
typedef boost::mutex::scoped_lock | ScopedLock |
Dummy type 'int' defintion of ScopedLock;. More... | |
Functions | |
static std::string | getThreadId () |
Return an identifier for the current thread. More... | |
typedef omni_mutex log4cpp::threading::Mutex |
typedef omni_mutex_lock log4cpp::threading::ScopedLock |
Dummy type 'int' defintion of ScopedLock;.
A simple "resource acquisition is initialization" idiom type lock for Mutex.
Equivalent to Boost.Threads boost::scoped_lock.
|
static |
Return an identifier for the current thread.
returns the thread ID
What these identifiers look like is completely up to the underlying thread library.
What these identifiers look like is completely up to the underlying thread library. OmniThreads returns the POSIX thread Id.