Defines the protocol implemented by arbiters.
Defines the protocol implemented by arbiters.
An async-enabled key-based mutual exclusion facility.
An async-enabled key-based mutual exclusion facility.
(lock! this keys)
Locks the given keys, returning a channel which produces a lock handle when the locking is complete. unlock! must be called with the handle to unlock the keys.
Locks the given keys, returning a channel which produces a lock handle when the locking is complete. unlock! must be called with the handle to unlock the keys.
(stop! this)
Shuts down the arbiter.
Shuts down the arbiter.
(unlock! this handle)
Unlocks the keys that were locked with lock!.
Unlocks the keys that were locked with lock!.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |