(PECL pthreads >= 2.0.0)
Pool::shutdown — Shutdown all workers
public Pool::shutdown ( ) : void
Shuts down all of the workers in the pool. This will block until all submitted tasks have been executed.
This function has no parameters.
No value is returned.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/pool.shutdown.php