[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 7697846: Construct a thread_event only if THREADS_E
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] master 7697846: Construct a thread_event only if THREADS_ENABLED |
Date: |
Fri, 31 Aug 2018 03:04:21 -0400 (EDT) |
branch: master
commit 76978462bbb55eb4b5cfe4d70856e18ed1e21076
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
Construct a thread_event only if THREADS_ENABLED
* src/thread.c (Fthread_signal): Construct a thread_event only if
THREADS_ENABLED.
---
src/thread.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/thread.c b/src/thread.c
index 78cb216..081569f 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. */)
if (tstate == current_thread)
Fsignal (error_symbol, data);
+#ifdef THREADS_ENABLED
if (main_thread_p (tstate))
{
/* Construct an event. */
@@ -889,6 +890,7 @@ If THREAD is the main thread, just the error message is
shown. */)
}
else
+#endif
{
/* What to do if thread is already signaled? */
/* What if error_symbol is Qnil? */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 7697846: Construct a thread_event only if THREADS_ENABLED,
Michael Albinus <=