diff options
Diffstat (limited to 'sql/threadpool.h')
-rw-r--r-- | sql/threadpool.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/threadpool.h b/sql/threadpool.h index 285b46e3b27..b1c26630812 100644 --- a/sql/threadpool.h +++ b/sql/threadpool.h @@ -132,6 +132,7 @@ struct TP_pool virtual int set_stall_limit(uint){ return 0; } virtual int get_thread_count() { return tp_stats.num_worker_threads; } virtual int get_idle_thread_count(){ return 0; } + virtual void resume(TP_connection* c)=0; }; #ifdef _WIN32 @@ -145,6 +146,7 @@ struct TP_pool_win:TP_pool virtual void add(TP_connection *); virtual int set_max_threads(uint); virtual int set_min_threads(uint); + void resume(TP_connection *c); }; #endif @@ -158,6 +160,7 @@ struct TP_pool_generic :TP_pool virtual int set_pool_size(uint); virtual int set_stall_limit(uint); virtual int get_idle_thread_count(); + void resume(TP_connection* c); }; #endif /* HAVE_POOL_OF_THREADS */ |