mirror of
https://github.com/danog/parallel.git
synced 2025-01-22 14:01:14 +01:00
Thread::kill() was removed in pthreads 3
This commit is contained in:
parent
92999aba6f
commit
2290835fc0
@ -93,8 +93,7 @@ class Thread extends \Thread
|
||||
*/
|
||||
public function kill()
|
||||
{
|
||||
$this->killed = true;
|
||||
return parent::kill();
|
||||
return $this->killed = true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user