mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 09:14:17 +01:00
2a4c573339
Checking for kill with thd_kill_level() or check_killed() runs apc requests, which takes the LOCK_thd_kill mutex. But this is dangerous, as checking for kill needs to be called while holding many different mutexes, and can lead to cyclic mutex dependency and deadlock. But running apc is only "best effort", so skip running the apc if the LOCK_thd_kill is not available. The apc will then be run on next check of kill signal. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
dummy_builtins.cc | ||
explain_filename-t.cc | ||
mf_iocache-t.cc | ||
my_apc-t.cc | ||
my_json_writer-t.cc |