Skip to content
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

Make windows sleep consistent with non-windows sleep #2382

Merged
merged 1 commit into from
Nov 28, 2017

Conversation

dipinhora
Copy link
Contributor

Prior to this commit, we would always only sleep for 1 ms on windows
if yielding was allowed regardless of how much idle time had passed
while on non-windows, we would sleep for larger amounts of time as
more idle time has passed.

This commit changes the logic so that windows and non-windows both
sleep for similar amounts of time as more and more idle time passes.

Prior to this commit, we would always only sleep for 1 ms on windows
if yielding was allowed regardless of how much idle time had passed
while on non-windows, we would sleep for larger amounts of time as
more idle time has passed.

This commit changes the logic so that windows and non-windows both
sleep for similar amounts of time as more and more idle time passes.
@jemc jemc added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Nov 27, 2017
@SeanTAllen SeanTAllen merged commit a4673b4 into ponylang:master Nov 28, 2017
ponylang-main added a commit that referenced this pull request Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants