xmltooling  1.4.2
xmltooling::Lock Class Reference

RAII wrapper for a mutex lock. More...

#include <xmltooling/util/Threads.h>

Public Member Functions

 Lock (Mutex *mtx)
 Locks and wraps the designated mutex. More...
 
 ~Lock ()
 Unlocks the wrapped mutex.
 

Detailed Description

RAII wrapper for a mutex lock.

Constructor & Destructor Documentation

xmltooling::Lock::Lock ( Mutex mtx)
inline

Locks and wraps the designated mutex.

Parameters
mtxmutex to lock

The documentation for this class was generated from the following file: