Generated on Wed Nov 5 2014 05:18:46 for Gecode by doxygen 1.7.6.1
Gecode::Support::Lock Class Reference

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

#include <thread.hpp>

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.

Definition at line 199 of file thread.hpp.


Constructor & Destructor Documentation

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

Enter lock.

Definition at line 89 of file thread.hpp.

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

Leave lock.

Definition at line 93 of file thread.hpp.


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