From c60685a8c4f1a7cc15c8fd2cd53fe9bb27245baf Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 3 Jul 2013 13:42:31 -0600 Subject: [PATCH] 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. --- src/thread.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/thread.c b/src/thread.c index 8f58faf1b08..0235944ccdc 100644 --- a/src/thread.c +++ b/src/thread.c @@ -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. */ -- 2.39.5