From 05d415a12e73a36ca9133b7b66ccc03057e65883 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Wed, 4 Oct 2023 14:49:04 +0200 Subject: added thread names (#441) added names to process handle GC thread and main thread for easier identification in crash dumps / process monitoring --- src/zenutil/openprocesscache.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/zenutil/openprocesscache.cpp') diff --git a/src/zenutil/openprocesscache.cpp b/src/zenutil/openprocesscache.cpp index b8f01dd54..39e4aea90 100644 --- a/src/zenutil/openprocesscache.cpp +++ b/src/zenutil/openprocesscache.cpp @@ -167,6 +167,8 @@ OpenProcessCache::GCHandles() void OpenProcessCache::GcWorker() { + SetCurrentThreadName("ProcessCache_GC"); + while (!m_GcExitEvent.Wait(500)) { try -- cgit v1.2.3