PHP
处理控制 | Process Control

Pool::resize

Pool::resize

(PECL pthreads >= 2.0.0)

Pool::resize — Resize the Pool

Description

public void Pool::resize ( integer $size )

Resize the Pool

Parameters

size

The maximum number of Workers this Pool can create

Return Values

void

← Pool::__construct

Pool::shutdown →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/pool.resize.php