private static function UltimateCronLockMemcache::unlockRaw in Ultimate Cron 7.2
Real unlock.
Parameters
string $name: Name of lock.
Return value
bool Result of unlock.
2 calls to UltimateCronLockMemcache::unlockRaw()
- UltimateCronLockMemcache::reLock in ./
ultimate_cron.memcache-lock.inc - Relock.
- UltimateCronLockMemcache::unlock in ./
ultimate_cron.memcache-lock.inc - Release lock.
File
- ./
ultimate_cron.memcache-lock.inc, line 121 - A memcached-mediated implementation of a locking mechanism.
Class
- UltimateCronLockMemcache
- Class for handling lock functions.
Code
private static function unlockRaw($name, $lock_id = NULL) {
$bin = variable_get('ultimate_cron_lock_memcache_bin', 'semaphore');
if ($lock_id) {
unset(self::$locks[$lock_id]);
}
return dmemcache_delete($name, $bin);
}