(PECL pthreads >= 2.0.0)
Synchronization
public boolean Worker::shutdown ( void )
Shuts down the Worker after executing all the objects previously stacked
Returns:
Examples:
Shutdown the referenced Worker
<?php $my = new Worker(); $my->start(); /* ... */ var_dump($my->shutdown()); /* ... */ ?>
The above example will output:
bool(true)
Please login to continue.