array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'threaded.run.php', 1 => 'Threaded::run', ), 'up' => array ( 0 => 'class.threaded.php', 1 => 'Threaded', ), 'prev' => array ( 0 => 'threaded.pop.php', 1 => 'Threaded::pop', ), 'next' => array ( 0 => 'threaded.shift.php', 1 => 'Threaded::shift', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/pthreads/threaded/run.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL pthreads >= 2.0.0)
Threaded::run — 执行
此函数没有参数。
无返回值。即使代码中 run 方法有返回值,也会被忽略