yii\mutex\PgsqlMutex::releaseLock PHP 메소드

releaseLock() 보호된 메소드

Releases lock by given name.
또한 보기: http://www.postgresql.org/docs/9.0/static/functions-admin.html
protected releaseLock ( string $name ) : boolean
$name string of the lock to be released.
리턴 boolean release result.
    protected function releaseLock($name)
    {
        list($key1, $key2) = $this->getKeysFromName($name);
        return (bool) $this->db->createCommand('SELECT pg_advisory_unlock(:key1, :key2)', [':key1' => $key1, ':key2' => $key2])->queryScalar();
    }