summaryrefslogtreecommitdiff
path: root/sql/threadpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/threadpool.h')
-rw-r--r--sql/threadpool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/threadpool.h b/sql/threadpool.h
index 78112b8b7bc..2b0d09c0d6d 100644
--- a/sql/threadpool.h
+++ b/sql/threadpool.h
@@ -10,6 +10,12 @@ extern uint threadpool_max_threads; /* Maximum threads in pool */
extern uint threadpool_oversubscribe; /* Maximum active threads in group */
+
+/* Common thread pool routines, suitable for different implementations */
+extern void threadpool_remove_connection(THD *thd);
+extern int threadpool_process_request(THD *thd);
+extern int threadpool_add_connection(THD *thd);
+
/*
Functions used by scheduler.
OS-specific implementations are in