#include <xmltooling/util/Threads.h>
Public Member Functions | |
SharedLock (RWLock *lock, bool lockit=true) | |
Locks and wraps the designated shared lock. | |
SharedLock (const std::auto_ptr< RWLock > &lock, bool lockit=true) | |
Locks and wraps the designated shared lock. | |
SharedLock (const boost::scoped_ptr< RWLock > &lock, bool lockit=true) | |
Locks and wraps the designated shared lock. | |
~SharedLock () | |
Unlocks the wrapped shared lock, if any. | |
RWLock * | release () |
Releases control of the original shared lock and returns it without unlocking it. |
|
Locks and wraps the designated shared lock.
|
|
Locks and wraps the designated shared lock.
|
|
Locks and wraps the designated shared lock.
|
|
Releases control of the original shared lock and returns it without unlocking it.
|