summaryrefslogtreecommitdiff
path: root/slsets.scm
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2025-08-05 10:27:31 +0200
committerPeter Bex <peter@more-magic.net>2025-08-18 13:39:32 +0200
commit565171c7b0a7389e60ec6f8593732988f43b6aef (patch)
tree1f3c5db2e06f8a1cf9c43e17be71fbc74d0c06e5 /slsets.scm
parent53f99c5612daadf18e90475159c7683443033b0d (diff)
downloadslset-565171c7b0a7389e60ec6f8593732988f43b6aef.tar.gz
Disable interrupts
Doesn't do that much, but it's a good idea for slsets as well because it makes it unlikely that plist changes are ever observed, because there's no thread switching.
Diffstat (limited to 'slsets.scm')
-rw-r--r--slsets.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/slsets.scm b/slsets.scm
index dac3838..9ecb075 100644
--- a/slsets.scm
+++ b/slsets.scm
@@ -6,6 +6,8 @@
;; complexity. It's even faster than using a side hash table, unless
;; the symbols already have large plists associated with them.
;;
+(declare (disable-interrupts))
+
(module slsets
(slset<= slset= slset-adjoin ;; TODO: slset-delete and slset-contains?
slset-difference slset-intersection