void stop () { stop_async (); m_journal.debug << "Waiting to stop"; m_stop_complete.wait(); m_journal.debug << "Stopped"; }
void stop () override { stop_async (); JLOG(m_journal.debug()) << "Waiting to stop"; std::unique_lock<std::mutex> lk{m_mut}; m_cv.wait(lk, [this]{return m_asyncHandlersCompleted;}); lk.unlock(); JLOG(m_journal.debug()) << "Stopped"; }
bool performance_counter::stop(naming::id_type const& targetid, error_code& ec) { return stop_async(targetid).get(ec); }
void stop () { stop_async (); m_event.wait(); }