the pause code is as follows:
$this->synchronized(function($thread){
if (!$thread->done)
$thread->wait();
}, $this);
the wake-up code is as follows:
$my->synchronized(function($thread){
$thread->done = true;
$thread->notify();
}, $my);
then. What on earth is that thread- > done? Why does it still work when I get rid of the program?
Please all bosses to give us some advice.