8000 [Process] Wait a bit less on Windows by nicolas-grekas · Pull Request #18150 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Process] Wait a bit less on Windows #18150

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 13, 2016

Conversation

nicolas-grekas
Copy link
Member
Q A
Branch 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

By using stream_select instead of usleep when the input is at wait, and by not blocking when the process has halted, we can enhance a bit the performance on Windows.

@nicolas-grekas nicolas-grekas merged commit 380a54f into symfony:2.7 Mar 13, 2016
nicolas-grekas added a commit that referenced this pull request Mar 13, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

[Process] Wait a bit less on Windows

| Q             | A
| ------------- | ---
| Branch        | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

By using `stream_select` instead of `usleep` when the input is at wait, and by not blocking when the process has halted, we can enhance a bit the performance on Windows.

Commits
-------

380a54f [Process] Wait a bit less on Windows
@nicolas-grekas nicolas-grekas deleted the win-sleep branch March 13, 2016 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0