Worker::isShutdown

(PECL pthreads >= 2.0.0)

Worker::isShutdown״̬���

˵��

public Worker::isShutdown ( void ) : bool

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)