Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Refactor: move Task Queue to its own class #9301

Merged
merged 5 commits into from
Jun 13, 2019

Conversation

iskakaushik
Copy link
Contributor

  • 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.

- 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.
@iskakaushik iskakaushik requested a review from liyuqian June 12, 2019 20:42
@liyuqian
Copy link
Contributor

As this moves the task queue out, maybe we can now add unit tests just for the task queue in addition to the tests we have for the message loops?

@iskakaushik
Copy link
Contributor Author

@liyuqian sounds good, will update the PR with more tests.

@iskakaushik
Copy link
Contributor Author

@liyuqian added some unit tests. PTAL.

Copy link
Contributor

@liyuqian liyuqian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iskakaushik iskakaushik merged commit fe7e444 into flutter:master Jun 13, 2019
@iskakaushik iskakaushik deleted the refactor-task-queue branch June 13, 2019 17:14
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 13, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 13, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 13, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 13, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 13, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 14, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants