diff options
author | Tom Tromey <tromey@redhat.com> | 2013-07-03 13:42:31 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-07-03 13:42:31 -0600 |
commit | c60685a8c4f1a7cc15c8fd2cd53fe9bb27245baf (patch) | |
tree | dac428036dec6f7515ba803ee0a82485060fd1f4 /src/thread.c | |
parent | 1d10d048003619f4e2d396a03274adad0dec78ba (diff) | |
download | emacs-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.c | 2 |
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. */ |