dcrud  0.0.0
Distributed data and services
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Synchronized Class Reference

#include <Mutex.hpp>

Collaboration diagram for Synchronized:
Collaboration graph

Public Member Functions

 Synchronized (Mutex &mutex)
 
 ~Synchronized ()
 

Detailed Description

Definition at line 36 of file Mutex.hpp.

Constructor & Destructor Documentation

Synchronized ( Mutex mutex)
inline

Definition at line 39 of file Mutex.hpp.

39  :
40  _mutex( mutex )
41  {
42  _mutex.take();
43  }
int take()
Definition: Mutex.hpp:27

Here is the call graph for this function:

~Synchronized ( )
inline

Definition at line 45 of file Mutex.hpp.

45  {
46  _mutex.release();
47  }
int release()
Definition: Mutex.hpp:31

Here is the call graph for this function:


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