ClojureDocs

Nav

Namespaces

locking

clojure.core

Available since 1.0 (source)
  • (locking x & body)
Executes exprs in an implicit do, while holding the monitor of x.
Will release the monitor of x in all circumstances.