summaryrefslogtreecommitdiff
path: root/storage/innobase/trx
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-02-03 18:17:36 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2017-02-04 17:33:01 +0200
commit9f0dbb3120fdc0474d606dc9c48e5f5f7a2c8484 (patch)
tree2db6285db714a8818e9d4378d7dec8a2d81986ac /storage/innobase/trx
parente174d923d94bd183bef8ab6a1da3777ae738c945 (diff)
downloadmariadb-git-9f0dbb3120fdc0474d606dc9c48e5f5f7a2c8484.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 'storage/innobase/trx')
0 files changed, 0 insertions, 0 deletions