Threaded::notify Synchronisation &reftitle.description; public boolThreaded::notify Envoi une notification à l'objet référencé &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; &return.success; &reftitle.examples; Notifications et attente synchronized(function($thread){ if (!$thread->done) $thread->wait(); }, $this); } } $my = new My(); $my->start(); /** envoi la notification au thread qui attend **/ $my->synchronized(function($thread){ $thread->done = true; $thread->notify(); }, $my); var_dump($my->join()); ?> ]]> &example.outputs;