summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-02-02 18:17:46 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2017-02-03 12:52:37 +0200
commitbc12d993d7bc94a9533028a258afc7e4ceb21e92 (patch)
treefc38e65f083b7f0eab89ff2e454d75288c544c8c /sql/item_sum.cc
parent3ebe08204a0cc9903ebac1a8d53060819ab6fedd (diff)
downloadmariadb-git-bc12d993d7bc94a9533028a258afc7e4ceb21e92.tar.gz
MDEV-11947 InnoDB purge workers fail to shut down
srv_release_threads(): Actually wait for the threads to resume from suspension. On CentOS 5 and possibly other platforms, os_event_set() may be lost. srv_resume_thread(): A counterpart of srv_suspend_thread(). Optionally wait for the event to be set, optionally with a timeout, and then release the thread from suspension. srv_free_slot(): Unconditionally suspend the thread. It is always in resumed state when this function is entered. srv_active_wake_master_thread_low(): Only call os_event_set(). srv_purge_coordinator_suspend(): Use srv_resume_thread() instead of the complicated logic.
Diffstat (limited to 'sql/item_sum.cc')
0 files changed, 0 insertions, 0 deletions