Condition variable that also awaken on network events. More...
#include <network_condition_variable.h>
Public Member Functions | |
| NetworkConditionVariable () | |
| void | notify () |
| Awakens any thread waiting for event changes. | |
| template<typename Lock > | |
| bool | wait (Lock &lock, int count, NetworkEvent **events, int timeout=-1) |
| Waits for event changes or until notify is called. | |
Condition variable that also awaken on network events.
| clan::NetworkConditionVariable::NetworkConditionVariable | ( | ) |
| void clan::NetworkConditionVariable::notify | ( | ) |
Awakens any thread waiting for event changes.
|
inline |
Waits for event changes or until notify is called.