<?php usleep(int $microseconds): void
<?php class_exists(Sleep::class) ? Sleep::usleep($microseconds) : usleep($microseconds); } }
<?php } while (true) { usleep(100 * 1000); if (Carbon::now()->second === 0 && ! Carbon::now()->startOfMinute()->equalTo($lastExecutionStartedAt)) {
<?php $process = $this->startProcess($hasEnvironment); } usleep(500 * 1000); } $status = $process->getExitCode();
<?php public function sleep($seconds) { if ($seconds < 1) { usleep($seconds * 1000000); } else { sleep($seconds); }
<?php $microseconds = (int) $remaining->totalMicroseconds; if ($microseconds > 0) { usleep($microseconds); } }
<?php } $tries++; usleep($sleep); } while ($tries < $limit); }
<?php $this->assertInstanceOf(LimiterTimeoutException::class, $e); } usleep(1.2 * 1000000); $lock->block(0, function () use (&$store) { $store[] = 3;