$ready = stream_select($read, $write, $except, $timeout, 0);
if ($ready === false) {
$ready = stream_select($read, $write, $except, $timeout, 0);
if ($ready === false) {
if ($timeout > 0 && empty($sockets)) {
// If we had no listeners, sleep until the pollers' next requested wakeup.
if ($timeout > 0 && empty($sockets)) {
// If we had no listeners, sleep until the pollers' next requested wakeup.
}
} else if (common_config('queue', 'debug_memory')) {
$fmt = number_format($usage);
}
} else if (common_config('queue', 'debug_memory')) {
$fmt = number_format($usage);