summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-04 15:54:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-05 11:45:18 +0100
commit38c05fb8229f48430c64e0735c9e646617b680e4 (patch)
tree06018e1a586991d5f5479bc6ee0cc6e2c4b4466a /bitbake
parentaaa286e48a96dc7bcedcefb9aa33cc738d571df4 (diff)
downloadpoky-38c05fb8229f48430c64e0735c9e646617b680e4.tar.gz
bitbake: cooker: Assign a name to the sync thread to aid debugging
(Bitbake rev: ffdb3d3fa690c35e9a96fc451a5811f5131276f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index eb0ed7878e..010105a60f 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -2147,7 +2147,7 @@ class CookerParser(object):
2147 for c in self.bb_caches.values(): 2147 for c in self.bb_caches.values():
2148 c.sync() 2148 c.sync()
2149 2149
2150 sync = threading.Thread(target=sync_caches) 2150 sync = threading.Thread(target=sync_caches, name="SyncThread")
2151 self.syncthread = sync 2151 self.syncthread = sync
2152 sync.start() 2152 sync.start()
2153 bb.codeparser.parser_cache_savemerge() 2153 bb.codeparser.parser_cache_savemerge()