| 877 | } |
| 878 | |
| 879 | void copy_global_thread_list(std::set<THD*> *new_copy) |
| 880 | { |
| 881 | mysql_mutex_assert_owner(&LOCK_thd_remove); |
| 882 | mysql_mutex_lock(&LOCK_thread_count); |
| 883 | *new_copy= *global_thread_list; |
| 884 | mysql_mutex_unlock(&LOCK_thread_count); |
| 885 | } |
| 886 | |
| 887 | void add_global_thread(THD *thd) |
| 888 | { |
nothing calls this directly
no outgoing calls
no test coverage detected