(let ((filename (->namestring (merge-pathnames filename)))
(id (if (default-object? id) world-id id))
(time (local-decoded-time)))
+ (if (and enable-smp? (other-running-threads?))
+ (error "Cannot disk-save with other running threads."))
(gc-clean)
((without-interrupts
(lambda ()
(call-with-current-continuation
(lambda (continuation)
- (if (implemented-primitive-procedure?
- (ucode-primitive smp-count 0))
+ (if enable-smp?
(smp-drop-band continuation filename id time)
(drop-band continuation filename id time))
(read-microcode-tables!)