#include <support/ConditionVariable.h>
Public Member Functions | |
| void | Broadcast () |
| Pulse the condition. | |
| void | Close () |
| Close the condition. | |
| void | Open () |
| Open the condition. | |
| SConditionVariable (const char *name) | |
| SConditionVariable () | |
| void | Wait (SLocker &locker) |
| Block until this condition is open, protected by 'locker'. | |
| void | Wait () |
| Block until this condition is open. | |
| ~SConditionVariable () | |
|
|
|
|
|
|
|
|
|
|
|
Pulse the condition. Allow all waiting threads to run, be return with the condition closed. |
|
|
Close the condition. Any future threads that call Wait() will block until it opens. |
|
|
Open the condition. All waiting threads will be allowed to run. Any future threads that call Wait() will not block. |
|
|
Block until this condition is open, protected by 'locker'. The SLocker must be held when this method is called. It will be atomically released if/when the thread blocks, and returns with the lock again held. |
|
|
Block until this condition is open.
|