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 223 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 (Revision: 14967)
- gecode/support/thread/none.hpp (Revision: 12399)
- gecode/support/thread/pthreads.hpp (Revision: 14653)
- gecode/support/thread/windows.hpp (Revision: 14653)