php8.5
Home/ Manual/ pthreads / pool/ Pool::resize

Pool::resize

PHP function Edit on GitHub ✎

(PECL pthreads >= 2.0.0)

Resize the Pool

Description

Pool::resize(int $size): void

Resize the Pool

Parameters

size

The maximum number of Workers this Pool can create

Return Values

Void

Source: reference/pthreads/pool/resize.xml · from the official PHP manual (php/doc-en)