Gecode::Support::Lock Class Reference
[Simple thread and synchronization support]
A lock as a scoped frontend for a mutex.
More...
#include <thread.hh>
Public Member Functions | |
| Lock (Mutex &m0) | |
| Enter lock. | |
| ~Lock (void) | |
| Leave lock. | |
Detailed Description
A lock as a scoped frontend for a mutex.Requires
#include <gecode/support/thread.hh>
Definition at line 177 of file thread.hh.
Constructor & Destructor Documentation
| Gecode::Support::Lock::Lock | ( | Mutex & | m0 | ) | [inline] |
| Gecode::Support::Lock::~Lock | ( | void | ) | [inline] |
The documentation for this class was generated from the following files:
- gecode/support/thread.hh (Revision: 9138)
- gecode/support/thread/thread.hpp (Revision: 8982)
