olp-cpp-sdk
1.21.0
|
A helper class that allows one thread to call and wait for a notification in the other thread. More...
#include <Condition.h>
Public Member Functions | |
void | Notify () |
Called by the task callback to notify Wait to unblock the routine. | |
bool | Wait (std::chrono::milliseconds timeout=std::chrono::seconds(60)) |
Waits for the Notify function. More... | |
A helper class that allows one thread to call and wait for a notification in the other thread.
|
inline |
Waits for the Notify
function.
timeout | The time (in milliseconds) during which the Wait function waits for the notification. |