From b89cf62d38b56f1f34f893cbcacdd71838ca4e59 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 22 Mar 2017 15:44:45 +0200 Subject: [PATCH] Sorting out merge from 2.1 --- server/core/gateway.cc | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/server/core/gateway.cc b/server/core/gateway.cc index 10362e1cd..79627d95a 100644 --- a/server/core/gateway.cc +++ b/server/core/gateway.cc @@ -962,36 +962,6 @@ static void usage(void) get_config_persistdir(), get_module_configdir(), get_connector_plugindir()); } - -/** - * The entry point of each worker thread. - * - * @param arg The thread argument. - */ -void worker_thread_main(void* arg) -{ - if (qc_thread_init(QC_INIT_SELF)) - { - if (modules_thread_init()) - { - poll_waitevents(arg); - - modules_thread_finish(); - } - else - { - MXS_ERROR("Could not perform thread initialization for all modules. Thread exits."); - } - - qc_thread_end(QC_INIT_SELF); - } - else - { - MXS_ERROR("Could not perform thread initialization for the " - "internal query classifier. Thread exits."); - } -} - /** * Deletes a particular signal from a provided signal set. *