Generated on for Gecode by doxygen 1.17.0

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()

Gecode::Support::Event::Event ( void )
inline

Initialize event.

Definition at line 131 of file thread.hpp.

Member Function Documentation

◆ signal()

void Gecode::Support::Event::signal ( void )
inline

Signal the event.

Definition at line 133 of file thread.hpp.

◆ wait()

void Gecode::Support::Event::wait ( void )
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: