This commit is contained in:
xl
2024-11-15 14:30:18 +08:00
parent ef312c2aa4
commit 3a0c5f6d70
+2 -3
View File
@@ -17,10 +17,9 @@ class Coordinator
*/
public function yield(): void
{
if ($this->waite === false) {
return;
while ($this->waite) {
usleep(1000);
}
$this->yield();
}