diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-11-02 10:43:52 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-11-02 10:43:52 +0100 |
commit | 4ffc9c3b01459a2904a7154a6c750d128864fc7b (patch) | |
tree | d482bfdf461dc06616cfb23b61c1045a04b1b15d /include | |
parent | 27bcea09e5230757071d27b91402647a9e0b4713 (diff) | |
download | mariadb-git-4ffc9c3b01459a2904a7154a6c750d128864fc7b.tar.gz |
MDEV-531 : Warning: Forcing close of thread ... in rpl_binlog_index
Use post_kill_notification in for one_thread_per_connection scheduler,
the same as already used in threadpool, to reliably wake a thread stuck in
read() or in different poll() variations.
Diffstat (limited to 'include')
-rw-r--r-- | include/violite.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/violite.h b/include/violite.h index 18df848d8b8..14c99e8d8fe 100644 --- a/include/violite.h +++ b/include/violite.h @@ -177,6 +177,12 @@ void vio_end(void); #endif /* !defined(DONT_MAP_VIO) */ #ifdef _WIN32 + +/* shutdown(2) flags */ +#ifndef SHUT_RD +#define SHUT_RD SD_BOTH +#endif + /* Set thread id for io cancellation (required on Windows XP only, and should to be removed if XP is no more supported) |