Worker::shutdown

(PECL pthreads >= 2.0.0)

Worker::shutdownSynchronization

Опис

public boolean Worker::shutdown ( void )

Shuts down the Worker after executing all the objects previously stacked

Параметри

В цієї функції немає параметрів.

Значення, що повертаються

Приклади

Приклад #1 Shutdown the referenced Worker

<?php
$my 
= new Worker();
$my->start();
/* ... */
var_dump($my->shutdown());
/* ... */
?>

Наведений вище приклад виведе:

bool(true)

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top