]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate: explicitly name the checkhashes thread pool
authorRoss Burton <ross@burtonini.com>
Wed, 24 Nov 2021 17:15:28 +0000 (17:15 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Nov 2021 21:53:44 +0000 (21:53 +0000)
Give this thread pool a name for clarity.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass

index 0a78a2fb69a0ea7f8dd1c580685739b70424326e..0326d27c743498983edc1b81f5beaa6ed89b9250 100644 (file)
@@ -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()