EPAM B2BITS C++ Bovespa MarketData handler
1.27.1
|
#include <b2bits/core/WaitableEvent.h>
Public Member Functions | |
WaitableEvent (bool signaled=false) | |
void | reset () |
void | set () |
bool | wait (unsigned ms=unsigned(-1)) |
Syncronization object. Notifies a waiting thread that an event has occurred.
|
inline |
Default constructor
|
inline |
Sets the state of the event to nonsignaled, causing waiting threads to block
|
inline |
Sets the state of the event to signaled, allowing one or more waiting threads to proceed.
|
inline |
Blocks the current thread until event is set to signaled state or timeout. If method returns true, event is automatically set to nonsignaled state.