Liking cljdoc? Tell your friends :D

urlocal.impl.locking


locking-by-valuecljmacro

(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?`.
sourceraw docstring

locksclj

source

new-lock-fnclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close