Avoid a reader error in threads.pure.lisp with non-threaded sbcl.
authorJoshua Elsasser <joshua@elsasser.org>
Wed, 23 Nov 2011 01:15:03 +0000 (17:15 -0800)
committerJoshua Elsasser <joshua@elsasser.org>
Wed, 23 Nov 2011 01:15:03 +0000 (17:15 -0800)
tests/threads.pure.lisp

index fb21822..1545237 100644 (file)
                      (signal-semaphore sem))
                    ;; KLUDGE: Prevent interrupts after this point from
                    ;; unwinding us, so that we can reason about the counts.
+                   #+sb-thread
                    (sb-thread::block-deferrable-signals))))))
       (let* ((threads (loop for i from 1 upto 100
                             collect (make-thread #'critical :name (format nil "T~A" i))))