diff options
| author | Tom Tromey | 2013-07-03 13:42:31 -0600 |
|---|---|---|
| committer | Tom Tromey | 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.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) | |||
| 637 | /* It might be nice to do something with errors here. */ | 637 | /* It might be nice to do something with errors here. */ |
| 638 | internal_condition_case (invoke_thread_function, Qt, do_nothing); | 638 | internal_condition_case (invoke_thread_function, Qt, do_nothing); |
| 639 | 639 | ||
| 640 | unbind_for_thread_switch (); | ||
| 641 | |||
| 642 | update_processes_for_thread_death (Fcurrent_thread ()); | 640 | update_processes_for_thread_death (Fcurrent_thread ()); |
| 643 | 641 | ||
| 644 | /* Unlink this thread from the list of all threads. */ | 642 | /* Unlink this thread from the list of all threads. */ |