(PECL pthreads >= 2.0.0)
Worker::shutdown — Synchronization
Shuts down the Worker after executing all the objects previously stacked
Bu işlevin değiştirgesi yoktur.
Örnek 1 Shutdown the referenced Worker
<?php
$my = new Worker();
$my->start();
/* ... */
var_dump($my->shutdown());
/* ... */
?>
Yukarıdaki örneğin çıktısı:
bool(true)