summaryrefslogtreecommitdiff
path: root/sql/threadpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/threadpool.h')
-rw-r--r--sql/threadpool.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/threadpool.h b/sql/threadpool.h
index b781e50b992..285b46e3b27 100644
--- a/sql/threadpool.h
+++ b/sql/threadpool.h
@@ -37,6 +37,8 @@ extern uint threadpool_mode; /* Thread pool implementation , windows or generic
#define DEFAULT_THREADPOOL_STALL_LIMIT 500U
struct TP_connection;
+struct st_vio;
+
extern void tp_callback(TP_connection *c);
extern void tp_timeout_handler(TP_connection *c);
@@ -112,7 +114,7 @@ struct TP_connection
virtual void wait_begin(int type)= 0;
virtual void wait_end() = 0;
-
+ IF_WIN(virtual,) void init_vio(st_vio *){};
};
@@ -133,6 +135,7 @@ struct TP_pool
};
#ifdef _WIN32
+
struct TP_pool_win:TP_pool
{
TP_pool_win();