List of all members.
Public Types |
| enum | WaitState { TimeOut,
Normal
} |
Public Member Functions |
| | EventWaiter () |
| | start blocked (waiting for signal)
|
| | EventWaiter (bool set) |
| | start blocked or signalled.
|
| WaitState | WaitOne (int timeOut) |
| | Wait function. Blocks until signal is set or time-out.
|
| void | Set () |
| | Sets signal, will unblock thread in Wait function.
|
| void | Reset () |
| | Resets signal, will block threads entering Wait function.
|
Constructor & Destructor Documentation
start blocked (waiting for signal)
start blocked or signalled.
- Parameters:
-
| set | If true, first Wait will directly continue |
Member Function Documentation
Resets signal, will block threads entering Wait function.
Sets signal, will unblock thread in Wait function.
Wait function. Blocks until signal is set or time-out.
- Parameters:
-
- Returns:
The documentation for this class was generated from the following file:
- D:/My Documents/Github/Arduino/Own Arduino libraries/CmdMessenger/Arduino-CmdMessenger/extras/CSharp/CommandMessenger/EventWaiter.cs