This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Migrate flutter_runner from flutter_runner::{Thread,Loop} to fml::{Thread,MessageLoop}#15118
Merged
gw280 merged 3 commits intoflutter:masterfrom Jan 8, 2020
Merged
Migrate flutter_runner from flutter_runner::{Thread,Loop} to fml::{Thread,MessageLoop}#15118gw280 merged 3 commits intoflutter:masterfrom
gw280 merged 3 commits intoflutter:masterfrom
Conversation
dnfield
reviewed
Jan 3, 2020
Contributor
dnfield
left a comment
There was a problem hiding this comment.
Most of this seems very reasonable, hoping @cbracken or @chinmaygarde can fill in some details as well.
| private: | ||
| Delegate& delegate_; | ||
| const std::string thread_label_; | ||
| flutter::ThreadHost thread_host_; |
Contributor
There was a problem hiding this comment.
This seems like a strange class to own the thread host, but that's how we had it before I guess.
Is this migration going to help us migrate Fuchsia to the embedder API eventually, or is it completely unrelated?
Contributor
There was a problem hiding this comment.
This change should definitely move us in the direction of migrating Fuchsia to using the embedder API.
Contributor
|
CI failure on Fuchsia is an infra issue - bot update failed on one of the builders. |
iskakaushik
reviewed
Jan 6, 2020
739e190 to
110d157
Compare
fml::{Thread,MessageLoop}
6fa8e27 to
a4408d1
Compare
Contributor
Author
|
Some updates:
|
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 8, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 8, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 8, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
This was referenced Jan 8, 2020
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 8, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 8, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 8, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
gw280
pushed a commit
to gw280/engine
that referenced
this pull request
Jan 23, 2020
…read,MessageLoop} (flutter#15118)
gw280
pushed a commit
to gw280/engine
that referenced
this pull request
Jan 23, 2020
…read,MessageLoop} (flutter#15118)
gw280
pushed a commit
to gw280/engine
that referenced
this pull request
Jan 23, 2020
…read,MessageLoop} (flutter#15118)
gw280
pushed a commit
to gw280/engine
that referenced
this pull request
Jan 23, 2020
…read,MessageLoop} (flutter#15118)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 24, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 24, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 24, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 24, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 24, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Jan 24, 2020
…fml::{Thread,MessageLoop} (flutter/engine#15118)
engine-flutter-autoroll
added a commit
to flutter/flutter
that referenced
this pull request
Jan 25, 2020
flutter/engine@f10f03a...51a7964 git log f10f03a..51a7964 --first-parent --oneline 2020-01-24 skia-flutter-autoroll@skia.org Roll src/third_party/dart bc9348829ef8..fc3af737c759 (2 commits) (flutter/engine#15965) 2020-01-24 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from Wc7e4... to 8Ns10... (flutter/engine#15964) 2020-01-24 skia-flutter-autoroll@skia.org Roll src/third_party/skia a7e557f3e353..3ea4d5bb857d (4 commits) (flutter/engine#15963) 2020-01-24 skia-flutter-autoroll@skia.org Roll src/third_party/dart c359b5943a52..bc9348829ef8 (1 commits) (flutter/engine#15962) 2020-01-24 gw280@google.com ensure we export the various dart snapshot symbols on Fuchsia (flutter/engine#15953) 2020-01-24 skia-flutter-autoroll@skia.org Roll src/third_party/dart 3eaae5405d37..c359b5943a52 (13 commits) (flutter/engine#15959) 2020-01-24 gw280@google.com Migrate flutter_runner from flutter_runner::{Thread,Loop} to fml::{Thread,MessageLoop} (flutter/engine#15118) 2020-01-24 gw280@google.com Re-arm timer as necessary in MessageLoopFuchsia 2020-01-24 skia-flutter-autoroll@skia.org Roll src/third_party/skia c88a3bc3f561..a7e557f3e353 (6 commits) (flutter/engine#15957) 2020-01-24 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/mac-amd64 from LAOYs... to 6_pZp... (flutter/engine#15954) 2020-01-24 zhongwuzw@qq.com Fixes FlutterCallbackInfomation leaks (flutter/engine#15089) 2020-01-24 zhongwuzw@qq.com Fixes oc leaks in platform plugin (flutter/engine#15041) 2020-01-24 jason-simmons@users.noreply.github.com Do not reset the child isolate preparer if the isolate group data already has one (flutter/engine#15952) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC aaclarke@google.com on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
gw280
pushed a commit
to gw280/engine
that referenced
this pull request
Jan 31, 2020
…fml::{Thread,MessageLoop} (flutter#15118)"
This reverts commit 41e8ed0.
NoamDev
pushed a commit
to NoamDev/engine
that referenced
this pull request
Feb 27, 2020
…fml::{Thread,MessageLoop} (flutter#15118)" (flutter#15903)
This reverts commit a50f1ef.
NoamDev
pushed a commit
to NoamDev/engine
that referenced
this pull request
Feb 27, 2020
…read,MessageLoop} (flutter#15118)
NoamDev
pushed a commit
to NoamDev/engine
that referenced
this pull request
Feb 27, 2020
…fml::{Thread,MessageLoop} (flutter#15118)" (flutter#16277)
This reverts commit 41e8ed0.
NoamDev
added a commit
to NoamDev/engine
that referenced
this pull request
Feb 27, 2020
…oop} to fml::{Thread,MessageLoop} (flutter#15118)" (flutter#16277)"
This reverts commit 4b76686.
NoamDev
added a commit
to NoamDev/engine
that referenced
this pull request
Feb 27, 2020
…fml::{Thread,MessageLoop} (flutter#15118)"
This reverts commit a181b0c.
NoamDev
added a commit
to NoamDev/engine
that referenced
this pull request
Feb 27, 2020
…oop} to fml::{Thread,MessageLoop} (flutter#15118)" (flutter#15903)"
This reverts commit a37eb4c.
filmil
pushed a commit
to filmil/engine
that referenced
this pull request
Mar 13, 2020
…read,MessageLoop} (flutter#15118)
hjfreyer
pushed a commit
to hjfreyer/engine
that referenced
this pull request
Apr 2, 2021
…oop} to fml::{Thread,MessageLoop} (flutter#15118)" (flutter#15903)"
This reverts commit 69bc783.
hjfreyer
pushed a commit
to hjfreyer/engine
that referenced
this pull request
Apr 2, 2021
…oop} to fml::{Thread,MessageLoop} (flutter#15118)" (flutter#15903)"
This reverts commit 69bc783.
hjfreyer
pushed a commit
to hjfreyer/engine
that referenced
this pull request
Apr 2, 2021
…oop} to fml::{Thread,MessageLoop} (flutter#15118)" (flutter#15903)"
This reverts commit 69bc783.
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Right now we are using our own Loop and Thread implementations on flutter_runner on Fuchsia. This patch migrates us to using the built-in fml types now that they work on Fuchsia (and have unit tests running on CI).
The biggest concern I have with this is the (hopefully temporary) plumbing I've added to extract the async::Loop object from the MessageLoop through the static method
FuchsiaLoopForMessageLooponMessageLoopFuchsia. This is currently necessary because we use the FuchsiaTracecomponent which requires theasync::Loopobject to initialise.