An automatically reset event object to synchronize two threads. More...
#include <Threading.h>
Public Member Functions | |
| void | wait () |
| Waits on a thread for EventObject::signal to be called from another thread. | |
| void | signal () |
| Unblocks another thread, waiting on EventObject::wait. | |
Public Attributes | |
| bool | autoReset = true |
An automatically reset event object to synchronize two threads.
Example:
| void SC::EventObject::signal | ( | ) |
Unblocks another thread, waiting on EventObject::wait.
| void SC::EventObject::wait | ( | ) |
Waits on a thread for EventObject::signal to be called from another thread.