(acquire! this)
Tries to get a lock for given component ID
Tries to get a lock for given component ID
(acquire-by-name! this lock-name)
Converts passed name to ID and tries to aquire a lock for it
Converts passed name to ID and tries to aquire a lock for it
(release! this)
Rleases the component lock
Rleases the component lock
(release-all! this)
Releases all acquired locks
Releases all acquired locks
(release-by-name! this lock-name)
Converts passed name to ID and releases it
Converts passed name to ID and releases it
(with-lock a-lock & body)
Run the code if a lock is obtained
Run the code if a lock is obtained
(with-lock! a-lock & body)
Like with-lock but release it after use
Like *with-lock* but release it after use
(with-named-lock a-lock lock-name & body)
Run the code if a lock with the passed name is obtained
Run the code if a lock with the passed name is obtained
(with-named-lock! a-lock lock-name & body)
Like with-lock but release it after use
Like *with-lock* but release it after use
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close