Don't call unbind_for_thread_switch in run_thread
This removes the call to unbind_for_thread_switch from run_thread. This isn't necessary because acquire_global_lock does it properly.
This commit is contained in:
@@ -637,8 +637,6 @@ run_thread (void *state)
|
||||
/* It might be nice to do something with errors here. */
|
||||
internal_condition_case (invoke_thread_function, Qt, do_nothing);
|
||||
|
||||
unbind_for_thread_switch ();
|
||||
|
||||
update_processes_for_thread_death (Fcurrent_thread ());
|
||||
|
||||
/* Unlink this thread from the list of all threads. */
|
||||
|
||||
Reference in New Issue
Block a user