PHP Class malkusch\lock\mutex\LockMutex

Author: Markus Malkusch ([email protected])
Inheritance: extends Mutex
Datei anzeigen Open project: malkusch/lock

Public Methods

Method Description
synchronized ( callable $code )

Protected Methods

Method Description
lock ( ) Acquires the lock.
unlock ( ) Releases the lock.

Method Details

lock() abstract protected method

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

synchronized() public method

public synchronized ( callable $code )
$code callable

unlock() abstract protected method

Releases the lock.
abstract protected unlock ( )