-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Clarify threading of OnViewAttach mount items #41704
Conversation
This pull request was exported from Phabricator. Differential Revision: D51662154 |
Base commit: 05ed007 |
This pull request was exported from Phabricator. Differential Revision: D51662154 |
6b47bbe
to
322d9e1
Compare
Summary: `mOnViewAttachItems` was set to be be concurrent, but this would be unexpected, as all mount item operations occur solely on the main thread. Simplify this to be just a LinkedList and annotate the methods as being UI thread only. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D51662154
Summary: `mOnViewAttachItems` was set to be be concurrent, but this would be unexpected, as all mount item operations occur solely on the main thread. Simplify this to be just a LinkedList and annotate the methods as being UI thread only. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D51662154
322d9e1
to
ad295cd
Compare
This pull request was exported from Phabricator. Differential Revision: D51662154 |
Summary: `mOnViewAttachItems` was set to be be concurrent, but this would be unexpected, as all mount item operations occur solely on the main thread. Simplify this to be just a LinkedList and annotate the methods as being UI thread only. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D51662154
ad295cd
to
f5c90b9
Compare
This pull request was exported from Phabricator. Differential Revision: D51662154 |
Summary: `mOnViewAttachItems` was set to be be concurrent, but this would be unexpected, as all mount item operations occur solely on the main thread. Simplify this to be just a LinkedList and annotate the methods as being UI thread only. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D51662154
f5c90b9
to
a6f34d0
Compare
This pull request was exported from Phabricator. Differential Revision: D51662154 |
This pull request has been merged in 424ac63. |
Summary: Pull Request resolved: facebook#41704 `mOnViewAttachItems` was set to be be concurrent, but this would be unexpected, as all mount item operations occur solely on the main thread. Simplify this to be just a LinkedList and annotate the methods as being UI thread only. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D51662154 fbshipit-source-id: 9fe5784bce8a38d1339b5e3675791414676b6f4d
Summary:
mOnViewAttachItems
was set to be be concurrent, but this would be unexpected, as all mount item operations occur solely on the main thread.Simplify this to be just a LinkedList and annotate the methods as being UI thread only.
Changelog: [Internal]
Differential Revision: D51662154