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 /sql/scheduler.h | |
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 'sql/scheduler.h')
-rw-r--r-- | sql/scheduler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/scheduler.h b/sql/scheduler.h index 82bba5abe65..4e200e86d74 100644 --- a/sql/scheduler.h +++ b/sql/scheduler.h @@ -78,7 +78,7 @@ void one_thread_per_connection_scheduler(scheduler_functions *func, void one_thread_scheduler(scheduler_functions *func); extern void scheduler_init(); - +extern void post_kill_notification(THD *); /* To be used for pool-of-threads (implemeneted differently on various OSs) */ |