3 #include <Poco/Condition.h>
4 #include <Poco/Mutex.h>
5 #include <Poco/Timespan.h>
48 operator bool()
const;
95 mutable Poco::FastMutex m_lock;
96 Poco::Condition m_condition;
bool doWait(long ms)
Definition: StopControl.cpp:40
bool shouldStop() const
Definition: StopControl.cpp:66
Helper class for managing a common stoppable loop situation:
Definition: StopControl.h:35
void clear()
Definition: StopControl.cpp:86
bool waitStoppable(const Poco::Timespan &timeout)
Definition: StopControl.cpp:50
StopControl implements the stop mechanism generically.
Definition: StopControl.h:12
void requestWakeup()
Definition: StopControl.cpp:81
void requestStop()
Definition: StopControl.cpp:73
bool waitStoppable(const Poco::Timespan &timeout)
Delegates to StopControl::waitStoppable().
Definition: StopControl.cpp:25