From 4ffc9c3b01459a2904a7154a6c750d128864fc7b Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Fri, 2 Nov 2012 10:43:52 +0100 Subject: 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. --- sql/threadpool_common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/threadpool_common.cc') diff --git a/sql/threadpool_common.cc b/sql/threadpool_common.cc index 7e5bbd11c69..6b956768287 100644 --- a/sql/threadpool_common.cc +++ b/sql/threadpool_common.cc @@ -257,7 +257,7 @@ static scheduler_functions tp_scheduler_functions= tp_add_connection, // add_connection tp_wait_begin, // thd_wait_begin tp_wait_end, // thd_wait_end - tp_post_kill_notification, // post_kill_notification + post_kill_notification, // post_kill_notification NULL, // end_thread tp_end // end }; -- cgit v1.2.1