Gecode::Support::Event Class Reference
An event for synchronization. More...
#include <gecode/support/thread.hpp>
Public Member Functions | |
| Event (void) | |
| Initialize event. | |
| void | signal (void) |
| Signal the event. | |
| void | wait (void) |
| Wait until the event becomes signalled. | |
Detailed Description
An event for synchronization.
An event can be waited on by a single thread until the event is signalled.
Definition at line 138 of file thread.hpp.
Constructor & Destructor Documentation
◆ Event()
|
inline |
Initialize event.
Definition at line 131 of file thread.hpp.
Member Function Documentation
◆ signal()
|
inline |
Signal the event.
Definition at line 133 of file thread.hpp.
◆ wait()
|
inline |
Wait until the event becomes signalled.
Definition at line 143 of file thread.hpp.
The documentation for this class was generated from the following files:
- gecode/support/thread.hpp
- gecode/support/thread/thread.hpp
