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

Commit f9176a28 authored by Joe Hattori's avatar Joe Hattori
Browse files

Add Priority to the ThreadPool

This commit allows to queue tasks with different priorities. Each Task
is tied with a priority represented by an integer (the smaller the more
prioritized).
In ueventd coldboot, the priorities are listed in an enum
`ThreadPoolPriority`. ModaliasHandler's tasks have the highest priority
as kernel module loading has dependencies, restorecon has the second
highest, and the rest has the lowest.

Bug: 421025789
Test: DUT boots
Change-Id: I03536e9c642c30d61ff686c9988f2c530ad7cdb0
parent 6aefbeaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment