Explorar o código

cooker: Assign a name to the sync thread to aid debugging

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie %!s(int64=3) %!d(string=hai) anos
pai
achega
ffdb3d3fa6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/bb/cooker.py

+ 1 - 1
lib/bb/cooker.py

@@ -2147,7 +2147,7 @@ class CookerParser(object):
             for c in self.bb_caches.values():
                 c.sync()
 
-        sync = threading.Thread(target=sync_caches)
+        sync = threading.Thread(target=sync_caches, name="SyncThread")
         self.syncthread = sync
         sync.start()
         bb.codeparser.parser_cache_savemerge()