From 57ea50fcfe81f47b93b9302d1aab2e81dcdd3105 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 24 Nov 2021 17:15:28 +0000 Subject: sstate: explicitly name the checkhashes thread pool Give this thread pool a name for clarity. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/sstate.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 0a78a2fb69..0326d27c74 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -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() -- cgit 1.2.3-korg