-
Notifications
You must be signed in to change notification settings - Fork 6k
Increase IO thread's priority on iOS to avoid stucks #34568
Conversation
|
Could you increase the IO thread's priority in Android? |
@JsouLiang From the linked issues it seems this problem is only affecting iOS devices. On android the status quo is good enough so without a suitable reason I have no idea which priority should I tune it to. Any suggestion? |
|
Lets do it for Android in a separate patch. |
dnfield
left a comment
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.
LGTM
Priority inversion can occur when we have the platform thread waiting on a lower priority thread. We should fix this on Android too. @jason-simmons tells me he has a patch in the works to do that.
|
hello,Is there a release plan and in which version? |
Until we remove the latch in Shell::OnPlatformViewCreated, the priority of IO thread should not be too low, otherwise the app will be stuck more often.
Fixes flutter/flutter#107351 and flutter/flutter#106773
Pre-launch Checklist
writing and running engine tests.
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.