aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c
index 78cb2161993..081569f8a38 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -875,6 +875,7 @@ If THREAD is the main thread, just the error message is shown. */)
875 if (tstate == current_thread) 875 if (tstate == current_thread)
876 Fsignal (error_symbol, data); 876 Fsignal (error_symbol, data);
877 877
878#ifdef THREADS_ENABLED
878 if (main_thread_p (tstate)) 879 if (main_thread_p (tstate))
879 { 880 {
880 /* Construct an event. */ 881 /* Construct an event. */
@@ -889,6 +890,7 @@ If THREAD is the main thread, just the error message is shown. */)
889 } 890 }
890 891
891 else 892 else
893#endif
892 { 894 {
893 /* What to do if thread is already signaled? */ 895 /* What to do if thread is already signaled? */
894 /* What if error_symbol is Qnil? */ 896 /* What if error_symbol is Qnil? */