Commit 76978462 authored by Michael Albinus's avatar Michael Albinus

Construct a thread_event only if THREADS_ENABLED

* src/thread.c (Fthread_signal): Construct a thread_event only if
THREADS_ENABLED.
parent 7c0675af
......@@ -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? */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment