(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
(acquired-by-name? this lock-name)
Converts passed name to ID and checks if lock was already acquired
Converts passed name to ID and checks if lock was already acquired
(acquired? this)
Checks if lock was already acquired
Checks if lock was already acquired
(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