1.0.48.31: WITH-LOCKED-SYSTEM-TABLE
[sbcl.git] / src / code / hash-table.lisp
index d72595c..933b390 100644 (file)
@@ -144,6 +144,10 @@ unspecified."
   ;; Needless to say, this also excludes some internal bits, but
   ;; getting there is too much detail when "unspecified" says what
   ;; is important -- unpredictable, but harmless.
+  `(sb!thread::with-recursive-spinlock ((hash-table-spinlock ,hash-table))
+     ,@body))
+
+(defmacro-mundanely with-locked-system-table ((hash-table) &body body)
   `(sb!thread::with-recursive-system-spinlock
        ((hash-table-spinlock ,hash-table))
      ,@body))