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
Icicle
Concurrent
Threading
Semaphore
__construct
Icicle\Concurrent\Threading\Semaphore::__construct PHP Method
Semaphore Class Documentation
Datei anzeigen
Open project: icicleio/concurrent
__construct()
public
method
Creates a new semaphore with a given number of locks.
public
__construct
(
integer
$locks
)
$locks
integer
The maximum number of locks that can be acquired from the semaphore.
public function __construct(int $locks) { $this->init($locks); }
Semaphore
__clone
__construct
acquire
count
getSize
init