Class | EM::Hiredis::Lock |
In: |
lib/em-hiredis/lock.rb
|
Parent: | Object |
Acquire the lock
This is a re-entrant lock, re-acquiring will succeed and extend the timeout
Returns a deferrable which either succeeds if the lock can be acquired, or fails if it cannot.
This should not be used in normal operation. Force clear without regard to who owns the lock.