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. More... | |
template<typename Lock > | |
bool | wait (Lock &lock, int count, NetworkEvent **events, int timeout=-1) |
Waits for event changes or until notify is called. More... | |
Condition variable that also awaken on network events.
uicore::NetworkConditionVariable::NetworkConditionVariable | ( | ) |
void uicore::NetworkConditionVariable::notify | ( | ) |
Awakens any thread waiting for event changes.
|
inline |
Waits for event changes or until notify is called.