X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Fcold-init.lisp;h=edeb78774baa75e29098d6fe51236224e9332852;hb=0c08cc954cc0910079bdcf153cccf9a95ef11d67;hp=30f3eaafd04a411e449369f072d5d2b661909ec4;hpb=8a33054f6541596c61b091e2b77118deda1511e2;p=sbcl.git diff --git a/src/code/cold-init.lisp b/src/code/cold-init.lisp index 30f3eaa..edeb787 100644 --- a/src/code/cold-init.lisp +++ b/src/code/cold-init.lisp @@ -101,6 +101,7 @@ sb!unix::*unblock-deferrables-on-enabling-interrupts-p* nil *interrupts-enabled* t *interrupt-pending* nil + #!+sb-thruption #!+sb-thruption *thruption-pending* nil *break-on-signals* nil *maximum-error-depth* 10 *current-error-depth* 0 @@ -229,7 +230,8 @@ (show-and-call stream-cold-init-or-reset) (show-and-call !loader-cold-init) (show-and-call !foreign-cold-init) - #!-win32 (show-and-call signal-cold-init-or-reinit) + #!-(and win32 (not sb-thread)) + (show-and-call signal-cold-init-or-reinit) (/show0 "enabling internal errors") (setf (sb!alien:extern-alien "internal_errors_enabled" boolean) t) @@ -347,10 +349,11 @@ process to continue normally." (setf sb!alien::*default-c-string-external-format* nil) ;; WITHOUT-GCING implies WITHOUT-INTERRUPTS. (without-gcing + ;; Initialize streams first, so that any errors can be printed later + (stream-reinit t) (os-cold-init-or-reinit) (thread-init-or-reinit) - (stream-reinit t) - #!-win32 + #!-(and win32 (not sb-thread)) (signal-cold-init-or-reinit) (setf (sb!alien:extern-alien "internal_errors_enabled" boolean) t) (float-cold-init-or-reinit)) @@ -406,4 +409,4 @@ process to continue normally." (t (sb!sys:%primitive print (hexstr x))))))) (%cold-print x 0)) - (values)) \ No newline at end of file + (values))