were not restartable.
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.162 1992/11/05 00:22:57 jinx Exp $
+$Id: runtime.pkg,v 14.163 1992/11/12 03:25:33 gjr Exp $
Copyright (c) 1988-1992 Massachusetts Institute of Technology
disk-save
dump-world
identify-world)
+ (export (runtime user-interface)
+ *within-restore-window?*)
(initialization (initialize-package!)))
(define-package (runtime scode)
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/savres.scm,v 14.25 1992/05/23 01:12:47 jinx Exp $
+$Id: savres.scm,v 14.26 1992/11/12 03:25:40 gjr Exp $
-Copyright (c) 1988-92 Massachusetts Institute of Technology
+Copyright (c) 1988-1992 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(define disk-save)
(define dump-world)
+(define *within-restore-window?* false)
(define (setup-image save-image)
(lambda (filename #!optional identify)
(if (string? identify) unspecific false))
(lambda ()
(set! time-world-saved time)
- (event-distributor/invoke! event:after-restore)
+ (fluid-let ((*within-restore-window?* true))
+ (event-distributor/invoke! event:after-restore))
(start-thread-timer)
(cond ((string? identify)
(set! world-identification identify)
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/usrint.scm,v 1.2 1992/06/01 22:23:16 cph Exp $
+$Id: usrint.scm,v 1.3 1992/11/12 03:25:49 gjr Exp $
-Copyright (c) 1991-92 Massachusetts Institute of Technology
+Copyright (c) 1991-1992 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(define (port/gc-start port)
(let ((operation (port/operation port 'GC-START)))
- (if operation
+ (if (and operation (not *within-restore-window?*))
(operation port))))
(define (port/gc-finish port)
(let ((operation (port/operation port 'GC-FINISH)))
- (if operation
+ (if (and operation (not *within-restore-window?*))
(operation port))))
(define (port/read-start port)
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.162 1992/11/05 00:22:57 jinx Exp $
+$Id: runtime.pkg,v 14.163 1992/11/12 03:25:33 gjr Exp $
Copyright (c) 1988-1992 Massachusetts Institute of Technology
disk-save
dump-world
identify-world)
+ (export (runtime user-interface)
+ *within-restore-window?*)
(initialization (initialize-package!)))
(define-package (runtime scode)