Свойство | Тип | Описание | |
---|---|---|---|
$threads | Array of threads |
Свойство | Тип | Описание | |
---|---|---|---|
$spawnCounter | integer | Counter of spawned threads |
Метод | Описание | |
---|---|---|
getCount ( ) : integer | Return the collected threads count | |
push ( |
Pushes certain thread to the collection | |
removeTerminated ( ) : integer | Remove terminated threads from the collection | |
signal ( $sig ) : void | Send a signal to threads | |
start ( ) : void | Start all collected threads | |
stop ( $kill = false ) : void | Stop all collected threads |
public removeTerminated ( ) : integer | ||
Результат | integer | Rest threads count |
protected int $spawnCounter | ||
Результат | integer |