|
Robot Raconteur Core C++ Library
|
Synchronization event for thread synchronization. Resets automatically after being triggered. More...
#include <AutoResetEvent.h>
Public Member Functions | |
| virtual void | Set () |
| Set the event, releasing waiting threads. | |
| virtual void | Reset () |
| Reset the event. | |
| virtual void | WaitOne () |
| Block the current thread infinitely until Set() is called. | |
| virtual bool | WaitOne (int32_t timeout) |
| Block the current thread until Set() is called, or timeout expires. | |
Synchronization event for thread synchronization. Resets automatically after being triggered.
Construct using RobotRaconteurNode::CreateAutoResetEvent()
|
virtual |
Block the current thread until Set() is called, or timeout expires.
Timeout is based on the RobotRaconteurNode time provider
| timeout | The timeout in milliseconds |