-
Notifications
You must be signed in to change notification settings - Fork 6k
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
MessageLoopTaskQueue schedules Wakes #9316
Merged
Merged
Conversation
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 is to help with sharing task queue among multiple message loops going forward. - currently there is 1:1 mapping between task queue and message loop, we are still maintaining the semantics for this change.
- Makes testing easier by letting us putting a TestWakeable - Also move the waking up logic to the task queue
chinmaygarde
approved these changes
Jun 14, 2019
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jun 14, 2019
liyuqian
pushed a commit
to flutter/flutter
that referenced
this pull request
Jun 14, 2019
flutter/engine@f1d821d...6f5347c git log f1d821d..6f5347c --no-merges --oneline 6f5347c MessageLoopTaskQueue schedules Wakes (flutter/engine#9316) b9c790e Roll src/third_party/skia 1127c0b273ea..4c4945a25248 (9 commits) (flutter/engine#9323) 6aaf5b3 Build the GLFW shell on Linux host builds but not target builds (flutter/engine#9320) 1121fda Added class docstrings for classes inside of shell/common. (flutter/engine#9303) 96a592b [macos] Adds clipboard string read/write support to macOS (flutter/engine#9313) 1cf980f Roll src/third_party/skia 569f12f0e503..1127c0b273ea (13 commits) (flutter/engine#9317) 14b0414 Update the Dart version to 1d8b81283c1dee38f1dd87b71b16aa1648b01155 (flutter/engine#9318) 54ff3c5 Avoid using std::unary_function (flutter/engine#9314) 031c2dc Only build embedder unit tests for host builds (flutter/engine#9315) 219c1cd Roll src/third_party/skia 084fa1b52f30..569f12f0e503 (3 commits) (flutter/engine#9311) 1caff8d Decorate UIApplicationDelegate wrappers with matching UIKit deprecation (flutter/engine#9304) 0df44e9 [scene_host] Expose Opacity and remove ExportNode (flutter/engine#9297) fe7e444 Refactor: move Task Queue to its own class (flutter/engine#9301) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop the roller if necessary.
kiku-jw
pushed a commit
to kiku-jw/flutter
that referenced
this pull request
Jun 14, 2019
flutter/engine@f1d821d...6f5347c git log f1d821d..6f5347c --no-merges --oneline 6f5347c MessageLoopTaskQueue schedules Wakes (flutter/engine#9316) b9c790e Roll src/third_party/skia 1127c0b273ea..4c4945a25248 (9 commits) (flutter/engine#9323) 6aaf5b3 Build the GLFW shell on Linux host builds but not target builds (flutter/engine#9320) 1121fda Added class docstrings for classes inside of shell/common. (flutter/engine#9303) 96a592b [macos] Adds clipboard string read/write support to macOS (flutter/engine#9313) 1cf980f Roll src/third_party/skia 569f12f0e503..1127c0b273ea (13 commits) (flutter/engine#9317) 14b0414 Update the Dart version to 1d8b81283c1dee38f1dd87b71b16aa1648b01155 (flutter/engine#9318) 54ff3c5 Avoid using std::unary_function (flutter/engine#9314) 031c2dc Only build embedder unit tests for host builds (flutter/engine#9315) 219c1cd Roll src/third_party/skia 084fa1b52f30..569f12f0e503 (3 commits) (flutter/engine#9311) 1caff8d Decorate UIApplicationDelegate wrappers with matching UIKit deprecation (flutter/engine#9304) 0df44e9 [scene_host] Expose Opacity and remove ExportNode (flutter/engine#9297) fe7e444 Refactor: move Task Queue to its own class (flutter/engine#9301) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop the roller if necessary.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
MessageLoopTaskQueue
calls wake up onRegisterTask
and alsoFlushTasks
MessageLoopImpl
to beWakeable
TestWakeable