Skip to content

clojure.core/locking

View this page on ClojureDocs

Type: macro Added: Clojure 1.0 Examples: 2 Runnable: 0
([x & body])

Executes exprs in an implicit do, while holding the monitor of x. Will release the monitor of x in all circumstances.

Examples

by gstamp on . May have evaluation errors.
by liuchong on . May have evaluation errors.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.