pdf::ScopeMutex Class Reference

#include <mutex.h>

Collaboration diagram for pdf::ScopeMutex:
Collaboration graph
[legend]

Public Member Functions

 ScopeMutex (Mutex *m)
 ~ScopeMutex ()

Detailed Description

Definition at line 50 of file mutex.h.


Constructor & Destructor Documentation

pdf::ScopeMutex::ScopeMutex ( Mutex m  )  [inline]

Definition at line 53 of file mutex.h.

References pdf::Mutex::lock().

00054         : mutex_(m)
00055     {
00056         mutex_->lock();
00057     }

Here is the call graph for this function:

pdf::ScopeMutex::~ScopeMutex (  )  [inline]

Definition at line 58 of file mutex.h.

References pdf::Mutex::unlock().

00059     {
00060         mutex_->unlock();
00061     }

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208