SharedLockInterface
interface SharedLockInterface implementsLockInterface
SharedLockInterface defines an interface to manipulate the status of a shared lock.
Methods
bool
acquire(bool$blocking =false)
Acquires the lock. If the lock is acquired by someone else, the parameter blocking
determines whether or not
the call should block until the release of the lock.
from LockInterface
bool
acquireRead(bool$blocking =false)
Acquires the lock for reading. If the lock is acquired by someone else in write mode, the parameter blocking
determines whether or not the call should block until the release of the lock.