diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-06-29 11:31:01 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-06-29 22:20:34 +0300 |
commit | bb60a832ede139d24a2470a1b1217d30799d726e (patch) | |
tree | afc89534b3743fb17b9027a922d55a605d0d0720 /storage/innobase/include/os0thread.h | |
parent | de3201df3fc830e4dc2ddc181a57d54e172ea3f4 (diff) | |
download | mariadb-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.h | 6 |
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 |