©
This document uses PHP Chinese website manual Release
(PECL gearman >= 0.5.0)
GearmanClient::runTasks — Run a list of tasks in parallel
For a set of tasks previously added with GearmanClient::addTask() , GearmanClient::addTaskHigh() , GearmanClient::addTaskLow() , GearmanClient::addTaskBackground() , GearmanClient::addTaskHighBackground() , or GearmanClient::addTaskLowBackground() , this call starts running the tasks in parallel.
此函数没有参数。
成功时返回 TRUE
, 或者在失败时返回 FALSE
。