Liking cljdoc? Tell your friends :D

curator.mutex


acquireclj

(acquire m)
(acquire m n)
(acquire m n tu)

If no timeunits are given, blocks until acquired. Otherwise returns true or false depending on if it acquires the lock in the given time. Time defaults to milliseconds.

If no timeunits are given, blocks until acquired. Otherwise returns true or
false depending on if it acquires the lock in the given time. Time defaults
to milliseconds.
raw docstring

mutexclj

(mutex client path)

Create an InterProcessMutex.

Create an InterProcessMutex.
raw docstring

releaseclj

(release m)

Release a mutex.

Release a mutex.
raw docstring

semaphore-mutexclj

(semaphore-mutex client path)

Create an InterProcessSemaphoreMutex. This mutex is not re-entrant.

Create an InterProcessSemaphoreMutex. This mutex is not re-entrant.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close