ResourceMutex

class \TYPO3\CMS\Core\Locking\ResourceMutex

Wrapper for locking API that uses two locks to not exhaust locking resources and still block properly

Table of Contents

Methods

__construct()  : mixed
acquireLock()  : void
Acquire a specific lock for the given scope
releaseLock()  : void
Release a worker specific lock

Methods

acquireLock()

Acquire a specific lock for the given scope

public acquireLock(string $scope, string $key) : void

Parameters

$scope : string
$key : string

Tags

see
TypoScriptFrontendController::acquireLock
throws
LockAcquireException
throws
LockCreateException
On this page