smp: Move call to make-fluid. Squash into 99bc079.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sun, 22 Feb 2015 01:17:32 +0000 (18:17 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Sun, 22 Feb 2015 01:17:32 +0000 (18:17 -0700)
Presumably 99bc079 does not build without moving the make-fluid from
initialize-low! to initialize-high!.

src/runtime/thread.scm

index ef8ea6e28aa9643b9957cae31eccbba98c0af420..6d180f6894ae03bab0f68846633e030e0d28ed1b 100644 (file)
@@ -164,7 +164,6 @@ USA.
 
 (define (initialize-low!)
   ;; Called early in the cold load to create the first thread.
-  (set! root-continuation-default (make-fluid #f))
   (set! thread-population (make-population))
   (set! first-runnable-thread #f)
   (set! last-runnable-thread #f)
@@ -183,6 +182,7 @@ USA.
 
 (define (initialize-high!)
   ;; Called later in the cold load, when more of the runtime is initialized.
+  (set! root-continuation-default (make-fluid #f))
   (initialize-error-conditions!)
   (reset-threads-high!)
   (add-event-receiver! event:after-restore reset-threads!)