#include <windows_hal.hpp>
|
| bool | wait_prelock () |
| | Acquire a new lock and increment the condition counter. More...
|
| |
| bool | wait () |
| | Waits for a condition and decrements the condition counter when the condition is met. More...
|
| |
| bool | signal () |
| | Sends a signal to unblock other threads. More...
|
| |
| virtual | ~OSCondition ()=0 |
| |
|
|
class | WindowsConditionFactory |
| |
Provides a OSCondition interface for windows
| bool WindowsCondition::initialize |
( |
| ) |
|
|
inlineprotected |
Initializes the locks and condition variables
| bool WindowsCondition::signal |
( |
| ) |
|
|
inlinevirtual |
Sends a signal to unblock other threads.
- Returns
- true
Implements OSCondition.
| bool WindowsCondition::wait |
( |
| ) |
|
|
inlinevirtual |
Waits for a condition and decrements the condition counter when the condition is met.
- Returns
- TRUE if the condition is met and the lock is released. FALSE otherwise.
Implements OSCondition.
| bool WindowsCondition::wait_prelock |
( |
| ) |
|
|
inlinevirtual |
Acquire a new lock and increment the condition counter.
- Returns
- true
Implements OSCondition.
The documentation for this class was generated from the following file: