Gecode::Support::Lock Class Reference
A lock as a scoped frontend for a mutex. More...
#include <gecode/support/thread.hpp>
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 114 of file thread.hpp.
Constructor & Destructor Documentation
◆ Lock()
|
inline |
Enter lock.
Definition at line 119 of file thread.hpp.
◆ ~Lock()
|
inline |
Leave lock.
Definition at line 123 of file thread.hpp.
The documentation for this class was generated from the following files:
- gecode/support/thread.hpp
- gecode/support/thread/thread.hpp
