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:
Tom Tromey
2013-07-03 13:42:31 -06:00
parent 1d10d04800
commit c60685a8c4

View File

@@ -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. */