Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0060bd42 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

BroadcastQueue: limit runnable to avoid starvation.

When a process has a large number of pending broadcasts, they could
end up starving other runnable processes.  This change retires a
running queue if we've made reasonable progress and someone else is
waiting.

Bug: 245771249
Test: atest FrameworksMockingServicesTests:BroadcastQueueTest
Change-Id: Ie60625d8fba577ccf1cb8d1cee212fffabb68ef7
parent 527e10cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment