24 bool evIsActive()
const noexcept;
29 virtual void evfinish() {}
33 virtual void evprepare() {}
40 bool async_evrun(
size_t waitRunningTimeout_msec = 60000 );
50 ev::dynamic_loop loop;
54 void onStop()
noexcept;
55 void defaultLoop()
noexcept;
56 bool waitDefaultLoopRunning(
size_t waitTimeout_msec );
57 void onLoopOK( ev::timer& t,
int revents )
noexcept;
59 std::atomic_bool cancelled = {
false };
60 std::atomic_bool isactive = {
false };
61 std::timed_mutex run_mutex;
64 std::unique_ptr<std::thread> thr;
66 std::mutex looprunOK_mutex;
67 std::condition_variable looprunOK_event;
68 std::atomic_bool isrunning = {
false };