From: Giuseppe Scrivano Date: Sat, 19 Sep 2009 21:09:17 +0000 (+0200) Subject: Raise an error when the thread cannot be created correctly. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6058757575ca3e0581154ce94e0ea076df737325;p=emacs.git Raise an error when the thread cannot be created correctly. --- 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;