summaryrefslogtreecommitdiff
path: root/sql/threadpool.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-02-16 16:59:04 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2012-02-16 16:59:04 +0100
commitcfa56f900acefcf228c26dfa39c1b9142ef3552b (patch)
tree6fa08e8fa99d31d69e9b7fda91c0e89f4635ee5e /sql/threadpool.h
parent8877fe7359b1eef81b62c6531674aaa5a5ce6051 (diff)
downloadmariadb-git-cfa56f900acefcf228c26dfa39c1b9142ef3552b.tar.gz
address second round review comments
Diffstat (limited to 'sql/threadpool.h')
-rw-r--r--sql/threadpool.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/threadpool.h b/sql/threadpool.h
index 2b0d09c0d6d..a3ecca3302b 100644
--- a/sql/threadpool.h
+++ b/sql/threadpool.h
@@ -46,11 +46,10 @@ extern TP_STATISTICS tp_stats;
/* Functions to set threadpool parameters */
extern void tp_set_min_threads(uint val);
extern void tp_set_max_threads(uint val);
-extern int tp_set_threadpool_size(uint val);
+extern void tp_set_threadpool_size(uint val);
extern void tp_set_threadpool_stall_limit(uint val);
/* Activate threadpool scheduler */
extern void tp_scheduler(void);
extern int show_threadpool_idle_threads(THD *thd, SHOW_VAR *var, char *buff);
-