summaryrefslogtreecommitdiff
path: root/storage/innobase/include/os0thread.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-06-29 11:31:01 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-06-29 22:20:34 +0300
commitbb60a832ede139d24a2470a1b1217d30799d726e (patch)
treeafc89534b3743fb17b9027a922d55a605d0d0720 /storage/innobase/include/os0thread.h
parentde3201df3fc830e4dc2ddc181a57d54e172ea3f4 (diff)
downloadmariadb-git-bb60a832ede139d24a2470a1b1217d30799d726e.tar.gz
Minor cleanup of InnoDB shutdown
os_thread_active(): Remove. srv_shutdown_all_bg_threads(): Assert that high-level threads have already exited. Do not sleep if os_thread_count=0.
Diffstat (limited to 'storage/innobase/include/os0thread.h')
-rw-r--r--storage/innobase/include/os0thread.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/storage/innobase/include/os0thread.h b/storage/innobase/include/os0thread.h
index 071e7422894..d4430f5ebce 100644
--- a/storage/innobase/include/os0thread.h
+++ b/storage/innobase/include/os0thread.h
@@ -151,10 +151,4 @@ os_thread_sleep(
/*============*/
ulint tm); /*!< in: time in microseconds */
-/*****************************************************************//**
-Check if there are threads active.
-@return true if the thread count > 0. */
-bool
-os_thread_active();
-
#endif