MXS-2271 Move some monitor management functions to an internal class

The class MonitorManager contains monitor-related functions that should not
be called from modules. MonitorManager can access private fields and methods
of the monitor.
This commit is contained in:
Esa Korhonen
2019-01-18 12:37:34 +02:00
parent a7f0bcc4c5
commit 3321a591ef
7 changed files with 108 additions and 73 deletions

View File

@ -2262,7 +2262,7 @@ int main(int argc, char** argv)
monitor_stop_all();
/*< Destroy all monitors */
monitor_destroy_all();
MonitorManager::destroy_all_monitors();
/*<
* Wait for worker threads to exit.