MXS-2271 Move global monitor list inside a local class

Cleans up list locking and handling.
This commit is contained in:
Esa Korhonen
2019-01-22 15:24:09 +02:00
parent f6cec41dd8
commit 00594cc369
3 changed files with 131 additions and 147 deletions

View File

@ -105,14 +105,6 @@ public:
* @attn Must only be called in single-thread context at system shutdown.
*/
static void destroy_all_monitors();
/**
* Free a monitor, first stop the monitor and then remove the monitor from
* the chain of monitors and free the memory.
*
* @param mon The monitor to free
*/
static void destroy_monitor(Monitor*);
};