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

Commit 53a72b5f authored by Joe Hattori's avatar Joe Hattori
Browse files

init: Introduce thread pool

This commit introduces thread pool. Users use Enqueue() to push a task
to the thread pool with its arguments. The thread pool stops when there
is tasks in the queue, there is no running thread, and Wait() is already
called.

Test: atest system/core/init/thread_pool_test.cpp
Bug: 421025789
Change-Id: I466300629f6716267f1ba93326b45e365e092330
parent 971e1a2d
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