summaryrefslogtreecommitdiff
path: root/sql/init.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2019-01-25 14:24:35 +0400
committerSergey Vojtovich <svoj@mariadb.org>2019-01-29 11:56:35 +0400
commit8553525931fa34fb89f3bb12ffd07c99f4d436f5 (patch)
tree4d8d061c6b583b36f139994a409377a7d59e6ddb /sql/init.h
parentc2318291be7458238729ed80233ea71f1e6a62b8 (diff)
downloadmariadb-git-8553525931fa34fb89f3bb12ffd07c99f4d436f5.tar.gz
MDEV-18400 - Move shutdown handling to main thread
Signal handler is now respoinsible for setting abort_loop and breaking poll() in main thread. The rest is handled by main thread itself. Removed redundant LOCK_error_log init/destroy wrappers. Removed redundant unireg_end(): it is trivial and it has only one caller. Removed unused ready_to_exit from PFS. Removed kill_in_progress: duplicates abort_loop. Removed shutdown_in_progress: duplicates abort_loop. Removed ready_to_exit: was used to make sure main thread waits for cleanups, which are now done by main thread itself. Removed SIGNALS_DONT_BREAK_READ, MAYBE_BROKEN_SYSCALL, kill_broken_server: never defined/used. Make clean_up() static.
Diffstat (limited to 'sql/init.h')
-rw-r--r--sql/init.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/init.h b/sql/init.h
index e96bb478cee..0bb67b293ed 100644
--- a/sql/init.h
+++ b/sql/init.h
@@ -17,6 +17,5 @@
#define INIT_INCLUDED
void unireg_init(ulong options);
-void unireg_end(void);
#endif /* INIT_INCLUDED */