#include <thread.h>
Inheritance diagram for Conditional::

Public Methods | |
| Conditional () | |
| Create an instance of a conditional. More... | |
| virtual | ~Conditional () |
| Destroy the conditional. More... | |
| void | Signal (bool broadcast) |
| Signal a conditional object and a waiting threads. More... | |
| void | Wait (timeout_t timer=0) |
| Wait to be signaled from another thread. More... | |
Conditional variables may wait for and receive signals to notify when to resume or perform operations. Multiple waiting threads may be woken with a broadcast signal.
|
|
Create an instance of a conditional.
|
|
|
Destroy the conditional.
|
|
|
Signal a conditional object and a waiting threads.
|
|
|
Wait to be signaled from another thread.
|
1.2.10 written by Dimitri van Heesch,
© 1997-2001