Liking cljdoc? Tell your friends :D

lockjaw.protocol


Lockjawcljprotocol

acquire!clj

(acquire! this)

Tries to get a lock for given ID

Tries to get a lock for given ID

release!clj

(release! this)

Rleases the lock

Rleases the lock
source

with-lockcljmacro

(with-lock a-lock & body)

Run the code if a lock is obtained

Run the code if a lock is obtained
sourceraw docstring

with-lock!cljmacro

(with-lock! a-lock & body)

Like with-lock but release it after use

Like *with-lock* but release it after use
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close