(set! load/loading? (make-fluid #f))
(set! load/suppress-loading-message? (make-fluid #f))
(set! load/after-load-hooks (make-fluid '()))
+ (set! fasload-mutex (make-thread-mutex))
(set! *eval-unit* (make-fluid #f))
(set! *current-load-environment* (make-fluid 'NONE))
(set! *write-notifications?* (make-fluid #t))
notifier))
(values #f #f #f))))
+(define fasload-mutex)
+
(define (try-fasl-file pathname)
(and (fasl-file? pathname)
(lambda ()
(values pathname
(lambda ()
- ((ucode-primitive binary-fasload)
- (->namestring pathname)))
+ (with-thread-mutex-lock fasload-mutex
+ (lambda ()
+ ((ucode-primitive binary-fasload)
+ (->namestring pathname)))))
(let ((notifier (loading-notifier pathname)))
(lambda (thunk)
(if (file-modification-time<?