X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fearly-c.lisp;h=6b793b7bcd40dd049717e0f2f0d6c82d596af2bd;hb=ec066d84dd46611428943d152749b3891a3f4b7c;hp=f3c7319fb2daee7efa3a3d023aded49e350589b6;hpb=5e9825374b74df450d8cfb2c005e6bef30197734;p=sbcl.git diff --git a/src/compiler/early-c.lisp b/src/compiler/early-c.lisp index f3c7319..6b793b7 100644 --- a/src/compiler/early-c.lisp +++ b/src/compiler/early-c.lisp @@ -116,6 +116,11 @@ (defvar *undefined-warnings*) (defvar *warnings-p*) +;;; This lock is seized in the compiler, and related areas: the +;;; compiler is not presently thread-safe +(defvar *big-compiler-lock* + (sb!thread:make-mutex :name "big compiler lock")) + ;;; unique ID for the next object created (to let us track object ;;; identity even across GC, useful for understanding weird compiler ;;; bugs where something is supposed to be unique but is instead