Generated on Mon Jul 6 18:09:39 2009 for Gecode by doxygen 1.5.9

Gecode::Support::Lock Class Reference
[Simple thread and synchronization support]

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

#include <thread.hh>

List of all members.

Public Member Functions

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


Detailed Description

A lock as a scoped frontend for a mutex.

Requires

Definition at line 177 of file thread.hh.


Constructor & Destructor Documentation

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

Enter lock.

Definition at line 57 of file thread.hpp.

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

Leave lock.

Definition at line 61 of file thread.hpp.


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