]> birchwood-abbey.net Git - mit-scheme.git/commitdiff
gcnote: Correct order of arguments to weak-list-set-add!, -delete!.
authorMatt Birkholz <matt@birchwood-abbey.net>
Sun, 5 Jul 2020 22:21:35 +0000 (15:21 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Wed, 8 Jul 2020 04:02:58 +0000 (21:02 -0700)
src/runtime/gcnote.scm

index 0d1c98e8cff6299c4b053071aa7495f15071e73c..1759371321dc839492618a0ae25b01ff6f4a8cb9 100644 (file)
@@ -76,10 +76,10 @@ USA.
   (weak-list-set-contains? thread threads-to-notify))
 
 (define-integrable (register-thread thread)
-  (weak-list-set-add! threads-to-notify thread))
+  (weak-list-set-add! thread threads-to-notify))
 
 (define-integrable (deregister-thread thread)
-  (weak-list-set-delete! threads-to-notify thread))
+  (weak-list-set-delete! thread threads-to-notify))
 \f
 (define (signal-gc-events)
   (without-interrupts