xmltooling::Lock Class Reference

RAII wrapper for a mutex lock. More...

#include <xmltooling/util/Threads.h>

Collaboration diagram for xmltooling::Lock:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Lock (Mutex *mtx)
 Locks and wraps the designated mutex.
 ~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:
mtx mutex to lock

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

Generated on 15 Jun 2012 for xmltooling by  doxygen 1.6.1