Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
malkusch
lock
mutex
LockMutex
PHP Class malkusch\lock\mutex\LockMutex
See link:
Donations
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
( )