From e5714c350c9f30bbb7bb6de288a5bab27a01a783 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Wed, 12 Nov 2025 01:38:57 -0600 Subject: [PATCH] Common/WorkQueueThread: Make IsRunning function public. --- Source/Core/Common/WorkQueueThread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Common/WorkQueueThread.h b/Source/Core/Common/WorkQueueThread.h index 8816ddda16..826ee778be 100644 --- a/Source/Core/Common/WorkQueueThread.h +++ b/Source/Core/Common/WorkQueueThread.h @@ -98,6 +98,8 @@ public: m_items.WaitForEmpty(); } + bool IsRunning() { return m_thread.joinable(); } + private: using CommandFunction = std::function; @@ -142,8 +144,6 @@ private: return std::lock_guard{m_mutex}; } - bool IsRunning() { return m_thread.joinable(); } - void ThreadLoop(const std::string& thread_name, const FunctionType& function) { Common::SetCurrentThreadName(thread_name.c_str());