You are here

function lock_may_be_available in Redis 7

Same name and namespace in other branches
  1. 7.3 redis.lock.inc \lock_may_be_available()
  2. 7.2 redis.lock.inc \lock_may_be_available()
1 call to lock_may_be_available()
Redis_Lock_Backend_Default::lockWait in lib/Redis/Lock/Backend/Default.php
Default implementation from actual Drupal core.

File

./redis.lock.inc, line 30
Drupal core lock.inc replacement.

Code

function lock_may_be_available($name) {
  return Redis_Lock::getBackend()
    ->lockMayBeAvailable($name);
}