Classes | |
class | ThreadLocalDataHolder |
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... | |
Typedefs | |
typedef boost::mutex | Mutex |
typedef boost::scoped_lock< Mutex > | ScopedLock |
typedef boost::thread_specific_ptr | ThreadLocalDataHolder |
typedef int | Mutex |
Dummy type 'int' for Mutex. | |
typedef int | ScopedLock |
Dummy type 'int' defintion of ScopedLock;. | |
typedef MSMutex | Mutex |
A simple, non recursive Mutex. | |
typedef MSScopedLock | ScopedLock |
A simple "resource acquisition is initialization" idiom type lock for Mutex. | |
typedef omni_mutex | Mutex |
A simple, non recursive Mutex. | |
typedef omni_mutex_lock | ScopedLock |
A simple "resource acquisition is initialization" idiom type lock for Mutex. | |
Functions | |
static std::string | getThreadId () |
returns the thread ID |
|
A simple, non recursive Mutex. Equivalent to Boost.Threads boost::mutex |
|
A simple, non recursive Mutex.
|
|
Dummy type 'int' for 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. |
|
A simple "resource acquisition is initialization" idiom type lock for Mutex.
|
|
Dummy type 'int' defintion of ScopedLock;.
|
|
|
|
|
|
returns the thread ID What these identifiers look like is completely up to the underlying thread library. |