(locking-by-value val & body)Similar to clojure.core/locking,
but locks per val rather than per object. This means that values that are
clojure.core/= will share the same lock, even if they're not
clojure.core/identical?.
Similar to [clojure.core/locking](https://clojuredocs.org/clojure.core/locking), but locks per `val` rather than per object. This means that values that are `clojure.core/=` will share the same lock, even if they're not `clojure.core/identical?`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |