You are here

function lock_may_be_available in Redis 7.3

Same name and namespace in other branches
  1. 7 redis.lock.inc \lock_may_be_available()
  2. 7.2 redis.lock.inc \lock_may_be_available()

File

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

Code

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