From 01c2ffd5f5b68042a514873de9820566f94963c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 29 Jan 2024 13:52:38 +0100 Subject: [PATCH] Add a missing thread name --- Core/Debugger/MemBlockInfo.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core/Debugger/MemBlockInfo.cpp b/Core/Debugger/MemBlockInfo.cpp index f727d3a484..f90634dee9 100644 --- a/Core/Debugger/MemBlockInfo.cpp +++ b/Core/Debugger/MemBlockInfo.cpp @@ -25,6 +25,7 @@ #include "Common/Log.h" #include "Common/Serialize/Serializer.h" #include "Common/Serialize/SerializeFuncs.h" +#include "Common/Thread/ThreadUtil.h" #include "Core/Config.h" #include "Core/CoreTiming.h" #include "Core/Debugger/Breakpoints.h" @@ -675,6 +676,8 @@ size_t FormatMemWriteTagAtNoFlush(char *buf, size_t sz, const char *prefix, uint } static void FlushMemInfoThread() { + SetCurrentThreadName("FlushMemInfo"); + while (flushThreadRunning.load()) { flushThreadPending = false; FlushPendingMemInfo();