aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c
index d075bdb3a13..c03cdda0fae 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -806,7 +806,11 @@ If NAME is given, it must be a string; it names the new thread. */)
806 { 806 {
807 /* Restore the previous situation. */ 807 /* Restore the previous situation. */
808 all_threads = all_threads->next_thread; 808 all_threads = all_threads->next_thread;
809#ifdef THREADS_ENABLED
809 error ("Could not start a new thread"); 810 error ("Could not start a new thread");
811#else
812 error ("Concurrency is not supported in this configuration");
813#endif
810 } 814 }
811 815
812 /* FIXME: race here where new thread might not be filled in? */ 816 /* FIXME: race here where new thread might not be filled in? */