You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WL#6407 Code reorganization to avoid race condition between
server main thread and the kill server thread
New class Global_THD_manager is added which encapsulates
global_thread_list and synchronization primitives related to
this data structures such as LOCK_thread_count and COND_thread_count.
It provides method to add/remove/find/count/do_func/traverse
global_thread_list and guards it with LOCK_thread_count internally.
Removed ready_to_exit flag and joining signal_hand thread
with the main mysqld thread during server shutdown. Removed
kill_server_thread and calling clean_up() only from the
main mysqld thread. For Windows, shutdown handler thread
is joined with main mysqld thread during server shutdown.
Removed assert in storage/perfschema/pfs_lock.h which relaxes
double free when ready_to_exit flag is set. Also enabled
commented out code in performance schema cleanup.
0 commit comments