summaryrefslogtreecommitdiff
path: root/sql/threadpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/threadpool.h')
-rw-r--r--sql/threadpool.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/threadpool.h b/sql/threadpool.h
index 7b62d2cb70a..3bbcf3f67f6 100644
--- a/sql/threadpool.h
+++ b/sql/threadpool.h
@@ -38,10 +38,12 @@ extern int threadpool_add_connection(THD *thd);
threadpool_unix.cc or threadpool_win.cc
*/
extern bool tp_init();
-extern void tp_add_connection(THD*);
+extern bool tp_init_new_connection_thread();
+extern void tp_add_connection(CONNECT *);
extern void tp_wait_begin(THD *, int);
extern void tp_wait_end(THD*);
extern void tp_post_kill_notification(THD *thd);
+extern bool tp_end_thread(THD *thd, bool cache_thread);
extern void tp_end(void);
/* Used in SHOW for threadpool_idle_thread_count */