summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-11-24 17:15:28 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-25 21:55:10 +0000
commit317511ce1fa8bf2270fa86798dc53353e6335087 (patch)
treecff1454f7c77b44e4d1689728df0244cad1f2e70 /meta/classes/sstate.bbclass
parent1fb99950a2725e6720fe22c92ee81ba5a67c400c (diff)
downloadpoky-317511ce1fa8bf2270fa86798dc53353e6335087.tar.gz
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>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass3
1 files changed, 2 insertions, 1 deletions
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,
1014 1014
1015 bb.event.enable_threadlock() 1015 bb.event.enable_threadlock()
1016 pool = oe.utils.ThreadedPool(nproc, len(tasklist), 1016 pool = oe.utils.ThreadedPool(nproc, len(tasklist),
1017 worker_init=checkstatus_init, worker_end=checkstatus_end) 1017 worker_init=checkstatus_init, worker_end=checkstatus_end,
1018 name="sstate_checkhashes-")
1018 for t in tasklist: 1019 for t in tasklist:
1019 pool.add_task(checkstatus, t) 1020 pool.add_task(checkstatus, t)
1020 pool.start() 1021 pool.start()