Even if you kill() a thread, the isStarted() method will still return true.
(PECL pthreads >= 2.0.0)
Thread::isStarted — Detecção de estado
Esta função não possui parâmetros.
Exemplo #1 Informa se o tópico referenciado foi iniciado
<?php
$worker = new Worker();
$worker->start();
var_dump($worker->isStarted());
?>
O exemplo acima produzirá:
bool(true)
Even if you kill() a thread, the isStarted() method will still return true.