Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from poll_events to wait_events.
This fixes 100% CPU usage during idle.
- Loading branch information
Showing
4 changed files
with
7 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f02c550
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from pcwalton
at metajack@f02c550
f02c550
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging metajack/servo/fix-idle-loop = f02c550 into auto
f02c550
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
metajack/servo/fix-idle-loop = f02c550 merged ok, testing candidate = e845695
f02c550
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://build.servo.org/builders/linux1/builds/1061
success: http://build.servo.org/builders/linux2/builds/1061
success: http://build.servo.org/builders/android/builds/1095
success: http://build.servo.org/builders/mac1/builds/1277
success: http://build.servo.org/builders/mac2/builds/1277
success: http://build.servo.org/builders/gonk/builds/248
f02c550
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = e845695