summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-07-03 13:42:31 -0600
committerTom Tromey <tromey@redhat.com>2013-07-03 13:42:31 -0600
commitc60685a8c4f1a7cc15c8fd2cd53fe9bb27245baf (patch)
treedac428036dec6f7515ba803ee0a82485060fd1f4 /src/thread.c
parent1d10d048003619f4e2d396a03274adad0dec78ba (diff)
downloademacs-c60685a8c4f1a7cc15c8fd2cd53fe9bb27245baf.tar.gz
emacs-c60685a8c4f1a7cc15c8fd2cd53fe9bb27245baf.tar.bz2
emacs-c60685a8c4f1a7cc15c8fd2cd53fe9bb27245baf.zip
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.
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c2
1 files changed, 0 insertions, 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. */