PHP Class malkusch\lock\mutex\LockMutex

Author: Markus Malkusch ([email protected])
Inheritance: extends Mutex
Afficher le fichier Open project: malkusch/lock

Méthodes publiques

Méthode Description
synchronized ( callable $code )

Méthodes protégées

Méthode Description
lock ( ) Acquires the lock.
unlock ( ) Releases the lock.

Method Details

lock() abstract protected méthode

This method blocks until the lock was acquired.
abstract protected lock ( )

synchronized() public méthode

public synchronized ( callable $code )
$code callable

unlock() abstract protected méthode

Releases the lock.
abstract protected unlock ( )