MXS-1775 Monitor stopping moved to maxscale::MonitorInstance

This commit is contained in:
Johan Wikman
2018-05-16 11:20:50 +03:00
parent 1304fd6147
commit bcb7d09a15
12 changed files with 15 additions and 85 deletions

View File

@ -65,16 +65,6 @@ bool GRMon::start(const MXS_CONFIG_PARAMETER* params)
return started;
}
void GRMon::stop()
{
ss_dassert(m_thread);
atomic_store_int32(&m_shutdown, 1);
thread_wait(m_thread);
m_thread = 0;
m_shutdown = 0;
}
void GRMon::diagnostics(DCB* dcb) const
{
}