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

Public Methods | |
| Conditional () | |
| Create an instance of a conditional. | |
| ~Conditional () | |
| Destroy the conditional. | |
| 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. | |
Protected Attributes | |
| pthread_cond_t | _cond |
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.5 written by Dimitri van Heesch,
© 1997-2001