Unalias with-absolutely-no-interrupts in runtime/prgcop.scm.
authorMatt Birkholz <puck@birchwood-abbey.net>
Wed, 17 Jun 2015 02:20:31 +0000 (19:20 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Mon, 17 Aug 2015 23:52:58 +0000 (16:52 -0700)
It is not atomic in multiprocessing worlds.  The alias "atomically" is
no longer appropriate.

src/runtime/prgcop.scm

index b065b7b92fc8aa1f52e3590b68fcf611868d8b31..42f129f32e668f8c6eb0e43731092645c13b0ad4 100644 (file)
@@ -135,7 +135,7 @@ USA.
 (define (%copy-compiled-code-address obj)
   (let ((new-block (copy-compiled-code-block
                    (compiled-code-address->block obj))))
-    (atomically
+    (with-absolutely-no-interrupts
      (lambda ()
        (object-new-type
        (object-type obj)
@@ -158,9 +158,6 @@ USA.
        ((not (fix:< i len)))
       (vector-set! new i (copy-object (vector-ref new i))))
     typed))
-
-(define-integrable (atomically thunk)
-  (with-absolutely-no-interrupts thunk))
 \f
 (define ((%copy-pair type) obj)
   (%%copy-pair type obj))