(PECL pthreads >= 2.0.0)
Worker::isShutdown — ״̬���
Worker �����Ƿر�
�˺���û�в�����
����ֵ����ʾ worker �Ƿ��Ѿ����ر�
Example #1 ��� Worker ����״̬
<?php
$worker = new Worker();
$worker->start();
var_dump($worker->isShutdown());
$worker->shutdown();
var_dump($worker->isShutdown());
�������̻������
bool(false) bool(true)