Generated on Thu Mar 7 2013 10:22:16 for Gecode by doxygen 1.8.3.1
Gecode::Support::Lock Class Reference

A lock as a scoped frontend for a mutex. More...

#include <thread.hpp>

Public Member Functions

 Lock (Mutex &m0)
 Enter lock. More...
 
 ~Lock (void)
 Leave lock. More...
 

Detailed Description

A lock as a scoped frontend for a mutex.

Definition at line 128 of file thread.hpp.

Constructor & Destructor Documentation

Gecode::Support::Lock::Lock ( Mutex m0)
inline

Enter lock.

Definition at line 72 of file thread.hpp.

Gecode::Support::Lock::~Lock ( void  )
inline

Leave lock.

Definition at line 76 of file thread.hpp.


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