summaryrefslogtreecommitdiff
path: root/sql/threadpool_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/threadpool_win.cc')
-rw-r--r--sql/threadpool_win.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/threadpool_win.cc b/sql/threadpool_win.cc
index df8a6c216a3..c83fb84ba4a 100644
--- a/sql/threadpool_win.cc
+++ b/sql/threadpool_win.cc
@@ -125,6 +125,11 @@ void TP_pool_win::add(TP_connection *c)
}
}
+void TP_pool_win::resume(TP_connection* c)
+{
+ SubmitThreadpoolWork(((TP_connection_win*)c)->work);
+}
+
#define CHECK_ALLOC_ERROR(op) \
do \
{ \
@@ -438,3 +443,4 @@ TP_connection *TP_pool_win::new_connection(CONNECT *connect)
}
return c;
}
+