略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Pool::resize

2024-04-28

Pool::resize

(PECL pthreads >= 2.0.0)

Pool::resize改变 Pool 对象的可容纳 Worker 对象的数量

说明

publicPool::resize(int $size): void

改变 Pool 对象的可容纳 Worker 对象的数量

参数

size

此 Pool 对象可创建 Worker 对象的最大数量

返回值

没有返回值。

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/pool.resize.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3