Pool::resize
(PECL pthreads >= 2.0.0)
Pool::resize — 改变 Pool 对象的可容纳 Worker 对象的数量
说明
publicPool::resize(int
$size
): void改变 Pool 对象的可容纳 Worker 对象的数量
参数
-
size
-
此 Pool 对象可创建 Worker 对象的最大数量
返回值
没有返回值。
add a note
User Contributed Notes
There are no user contributed notes for this page.