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
Jenner
SimpleFork
FixedPool
PHP Class Jenner\SimpleFork\FixedPool
Inheritance:
extends
AbstractPool
Datei anzeigen
Open project: huyanping/simple-fork-php
Protected Properties
Property
Type
Description
$max
max process count
Public Methods
Method
Description
__construct
(
integer
$max
= 4 )
execute
(
Process
$process
)
wait
(
boolean
$block
= false,
integer
$interval
= 100 )
wait for all process done
Method Details
__construct()
public
method
public
__construct
(
integer
$max
= 4 )
$max
integer
execute()
public
method
public
execute
(
Process
$process
)
$process
Process
wait()
public
method
wait for all process done
public
wait
(
boolean
$block
= false,
integer
$interval
= 100 )
$block
boolean
block the master process to keep the sub process count all the time
$interval
integer
check time interval
Property Details
$max
protected_oe property
max process count
protected
$max