mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
sstate: explicitly name the checkhashes thread pool
Give this thread pool a name for clarity. (From OE-Core rev: 57ea50fcfe81f47b93b9302d1aab2e81dcdd3105) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
1fb99950a2
commit
317511ce1f
|
@ -1014,7 +1014,8 @@ def sstate_checkhashes(sq_data, d, siginfo=False, currentcount=0, summary=True,
|
|||
|
||||
bb.event.enable_threadlock()
|
||||
pool = oe.utils.ThreadedPool(nproc, len(tasklist),
|
||||
worker_init=checkstatus_init, worker_end=checkstatus_end)
|
||||
worker_init=checkstatus_init, worker_end=checkstatus_end,
|
||||
name="sstate_checkhashes-")
|
||||
for t in tasklist:
|
||||
pool.add_task(checkstatus, t)
|
||||
pool.start()
|
||||
|
|
Loading…
Reference in New Issue
Block a user