Skip to content

Make kaocha.jit/jit thread-safe#453

Open
frenchy64 wants to merge 1 commit intolambdaisland:mainfrom
frenchy64:require-lock
Open

Make kaocha.jit/jit thread-safe#453
frenchy64 wants to merge 1 commit intolambdaisland:mainfrom
frenchy64:require-lock

Conversation

@frenchy64
Copy link
Contributor

Ensures we don't race with other requiring threads.

Note this is now safer than requiring-resolve (as of Clojure 1.12), which has a race condition making it prone to returning a partially initialized var.

@alysbrooks
Copy link
Member

The warning isn't a big deal either way, but I did look into the popularity of older Clojure versions, and 1.10 was already being phased out in 2022: https://clojure.org/news/2024/12/02/state-of-clojure-2024.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants