MXS-2004 Remove additional dependencies on maxscale/thread.h
This commit is contained in:
@ -836,7 +836,7 @@ bool MariaDBMonitor::wait_cluster_stabilization(MariaDBServer* new_master, const
|
||||
{
|
||||
if (!first_round)
|
||||
{
|
||||
thread_millisleep(500);
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
||||
}
|
||||
|
||||
// Erasing elements from an array, so iterate from last to first
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include <maxscale/monitor.hh>
|
||||
#include <maxscale/thread.h>
|
||||
|
||||
#include "mariadbserver.hh"
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include <maxscale/monitor.hh>
|
||||
#include <maxscale/thread.h>
|
||||
|
||||
/**
|
||||
* @file mmmon.hh - The Multi-Master monitor
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include <maxscale/monitor.hh>
|
||||
#include <maxscale/thread.h>
|
||||
|
||||
/**
|
||||
* @file ndbcclustermon.hh A NDBC cluster monitor
|
||||
|
Reference in New Issue
Block a user