MXS-2218 Treat all routing workers the same way

All routing workers are now started an stopped the same way.
This commit is contained in:
Johan Wikman
2019-01-07 16:23:38 +02:00
parent 35dfa05767
commit d50ae1fb8a
3 changed files with 20 additions and 32 deletions

View File

@ -287,17 +287,16 @@ public:
static int get_current_id();
/**
* Starts all routing workers but the main worker (the one running in
* the main thread).
* Starts all routing workers.
*
* @return True, if all secondary workers could be started.
* @return True, if all workers could be started.
*/
static bool start_threaded_workers();
static bool start_workers();
/**
* Waits for all threaded workers.
* Waits for all routing workers.
*/
static void join_threaded_workers();
static void join_workers();
/**
* Deprecated