summaryrefslogtreecommitdiff
path: root/sql/init.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2018-09-25 16:06:32 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2018-10-05 09:29:22 +0100
commit8f329e8d37e08c28d4e39d5c87ea22300285d9cd (patch)
tree127f33d9649277bd515d61435f8cb4a193bd2b92 /sql/init.h
parent25ad38abe5b3fb6bb2aafff315de256b8f1e7839 (diff)
downloadmariadb-git-8f329e8d37e08c28d4e39d5c87ea22300285d9cd.tar.gz
MDEV-10384 Windows : Refactor threading in mysqld startup.
Remove threads that are doing nothing but wait - main thread now handles the connections (if threadpool is used, also threadpool threads would wait for connections) - thread for socket and pipe connections are removed - shutdown thread is now removed, we wait for shutdown notification in main thread as well - kill_server() is also called inside the main thread, after connection loop finished.
Diffstat (limited to 'sql/init.h')
-rw-r--r--sql/init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/init.h b/sql/init.h
index e8dec0c1e2e..e96bb478cee 100644
--- a/sql/init.h
+++ b/sql/init.h
@@ -17,6 +17,6 @@
#define INIT_INCLUDED
void unireg_init(ulong options);
-ATTRIBUTE_NORETURN void unireg_end(void);
+void unireg_end(void);
#endif /* INIT_INCLUDED */