10 #include <boost/thread/thread.hpp>
13 m_timeout(timeout), m_running(false)
16 if (autostart)
start();
53 boost::system_time nextCheck = lastPing +
getTimeout();
61 boost::thread::sleep(nextCheck);
66 nextCheck = boost::get_system_time() +
getTimeout();
75 catch (boost::thread_interrupted&) {}