8000 Fixes issue #36 by greevex · Pull Request #37 · reactphp/event-loop · GitHub
[go: up one dir, main page]

Skip to content

Fixes issue #36 #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixes issue #36
speed up StreamSelectLoop
  • Loading branch information
greevex committed Nov 11, 2015
commit ed510ec30388e9e21fcdb3e3b82af69b183a12e7
2 changes: 1 addition & 1 deletion src/StreamSelectLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ protected function streamSelect(array &$read, array &$write, $timeout)
return stream_select($read, $write, $except, $timeout === null ? null : 0, $timeout);
}

usleep($timeout);
$timeout && usleep($timeout);

42B4 return 0;
}
Expand Down
0