summaryrefslogtreecommitdiff
path: root/sql/threadpool_win.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-04-05 15:57:27 +0200
committerSergei Golubchik <sergii@pisem.net>2012-04-05 15:57:27 +0200
commitb43494620f6cd57e8249940f4fb0406ffff8dff7 (patch)
treebde15905488aad101d6de24698886b7093e694a7 /sql/threadpool_win.cc
parent34ed8f33795b639d21817003236ce0f6c069481d (diff)
downloadmariadb-git-b43494620f6cd57e8249940f4fb0406ffff8dff7.tar.gz
mdev-208 thread pool breaks the server on XP
Diffstat (limited to 'sql/threadpool_win.cc')
-rw-r--r--sql/threadpool_win.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/threadpool_win.cc b/sql/threadpool_win.cc
index 346f2816e39..c8cc38e612a 100644
--- a/sql/threadpool_win.cc
+++ b/sql/threadpool_win.cc
@@ -144,6 +144,9 @@ WEAK_SYMBOL(VOID, SubmitThreadpoolWork,PTP_WORK pwk);
WEAK_SYMBOL(VOID, CloseThreadpoolWork, PTP_WORK pwk);
#define CloseThreadpoolWork my_CloseThreadpoolWork
+WEAK_SYMBOL(BOOL, CallbackMayRunLong, PTP_CALLBACK_INSTANCE pci);
+#define CallbackMayRunLong my_CallbackMayRunLong
+
#if _MSC_VER >= 1600
/* Stack size manipulation available only on Win7+ /declarations in VS10 */
WEAK_SYMBOL(BOOL, SetThreadpoolStackInformation, PTP_POOL,