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