#include <xmltooling/util/Threads.h>
Public Member Functions | |
Lock (Mutex *mtx) | |
Locks and wraps the designated mutex. | |
Lock (Mutex &mtx) | |
Locks and wraps the designated mutex. | |
Lock (const std::auto_ptr< Mutex > &mtx) | |
Locks and wraps the designated mutex. | |
Lock (const boost::scoped_ptr< Mutex > &mtx) | |
Locks and wraps the designated mutex. | |
~Lock () | |
Unlocks the wrapped mutex, if any. | |
Mutex * | release () |
Releases control of the original Mutex and returns it without unlocking it. |
|
Locks and wraps the designated mutex.
|
|
Locks and wraps the designated mutex.
|
|
Locks and wraps the designated mutex.
|
|
Locks and wraps the designated mutex.
|
|
Releases control of the original Mutex and returns it without unlocking it.
|