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

Commit 435557c9 authored by Chungkai Mei's avatar Chungkai Mei
Browse files

Parallel Module Loading: Refactor threads pool and architecture



Instead of creating new threads in each run, reuse same threads to load the modules and we can keep the utilization of threads and cpufreq higher.

And let subthreads dedicated to loading modules in parallel or alone, main thread only needs to update independent module pool. this architecture should be simpler and more readable.

Bug: 402263126
Change-Id: If3f07a18cd7c43132ff799d32786d2466f3110f1
Signed-off-by: default avatarChungkai Mei <chungkai@google.com>
parent dcf5858c
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