#include <thread.h>
Public Methods | |
Event () | |
virtual | ~Event () |
void | Reset (void) |
Once signaled, the Event class must be "reset" before responding to a new signal. More... | |
void | Signal (void) |
Signal the event for the waiting thread. More... | |
bool | Wait (timeout_t timer) |
Wait either for the event to be signaled by another thread or for the specified timeout duration. More... | |
bool | Wait (void) |
A target thread waits on a resetable Event, and one or more other threads can then signal the waiting thread to resume execution. A timeout can be used to specify a wait duration in milliseconds. The Event class must be reset before it can be used again as a trigger. These event objects use a trigger/reset mechanism and are related to low level conditional variables.
@author: David Sugar <dyfet@ostel.com>
|
|
|
|
|
Once signaled, the Event class must be "reset" before responding to a new signal.
|
|
Signal the event for the waiting thread.
|
|
|
|
Wait either for the event to be signaled by another thread or for the specified timeout duration.
|