From 6058757575ca3e0581154ce94e0ea076df737325 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 19 Sep 2009 23:09:17 +0200 Subject: [PATCH] Raise an error when the thread cannot be created correctly. --- src/thread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/thread.c b/src/thread.c index 3c6511ea74e..6e447cb1143 100644 --- a/src/thread.c +++ b/src/thread.c @@ -347,6 +347,7 @@ does not try to get a lock on the current buffer. */) { /* Restore the previous situation. */ all_threads = all_threads->next_thread; + error ("Cannot create new thread"); } return Qnil; -- 2.11.4.GIT