0.8.2.47:
authorChristophe Rhodes <csr21@cam.ac.uk>
Wed, 20 Aug 2003 11:56:54 +0000 (11:56 +0000)
committerChristophe Rhodes <csr21@cam.ac.uk>
Wed, 20 Aug 2003 11:56:54 +0000 (11:56 +0000)
Fix the shell suspension bug and threaded builds

NEWS
src/runtime/linux-os.c
version.lisp-expr

diff --git a/NEWS b/NEWS
index a413eaf..a9ed63a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1971,6 +1971,8 @@ changes in sbcl-0.8.3 relative to sbcl-0.8.2:
   * bug fix in READ-SEQUENCE: READ-SEQUENCE following PEEK-CHAR or
     UNREAD-CHAR now correctly includes the unread character in the
     target sequence.  (thanks to Gerd Moellmann)
+  * bug fix in threaded builds: the system can now be suspended and
+    resumed by shell job control with minimal disruption.
   * new optimization: inside a named function any reference to a
     function with the same name is considered to be a self-reference;
     this behaviour is controlled with SB-C::RECOGNIZE-SELF-CALLS
index aed1458..b57b510 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include <sys/param.h>
 #include <sys/file.h>
+#include "sbcl.h"
 #include "./signal.h"
 #include "os.h"
 #include "arch.h"
@@ -30,7 +31,6 @@
 #include "interrupt.h"
 #include "interr.h"
 #include "lispregs.h"
-#include "sbcl.h"
 #include <sys/socket.h>
 #include <sys/utsname.h>
 
@@ -251,8 +251,7 @@ void sigcont_handler(int signal, siginfo_t *info, void *void_context)
     /* we need to have a handler installed for this signal so that
      * sigwaitinfo() for it actually returns at the appropriate time
      */
-    fprintf(stderr, "Thread %d received stray SIGCONT\n",
-           arch_os_get_current_thread()->pid);
+    fprintf(stderr, "Thread %d received stray SIGCONT\n", getpid());
 }
 
 void
index d3bfdb5..957c649 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.8.2.46"
+"0.8.2.47"