array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'gearmanclient.runtasks.php', 1 => 'GearmanClient::runTasks', ), 'up' => array ( 0 => 'class.gearmanclient.php', 1 => 'GearmanClient', ), 'prev' => array ( 0 => 'gearmanclient.returncode.php', 1 => 'GearmanClient::returnCode', ), 'next' => array ( 0 => 'gearmanclient.setclientcallback.php', 1 => 'GearmanClient::setClientCallback', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/gearman/gearmanclient/runtasks.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gearman >= 0.5.0)
GearmanClient::runTasks — Exécute une liste de tâches en parallèle
Pour un jeu de tâches précédemment ajoutées avec les méthodes GearmanClient::addTask(), GearmanClient::addTaskHigh(), GearmanClient::addTaskLow(), GearmanClient::addTaskBackground(), GearmanClient::addTaskHighBackground(), ou GearmanClient::addTaskLowBackground(), cette méthode démarre l'exécution des tâches en parallèle.
Cette fonction ne contient aucun paramètre.