Threads: Support setting thread names through creation

Gives the DiskCache a thread name so it's easier to find.
This commit is contained in:
Ryan Houdek committed 2026-09-08 19:11:52 -07:00
1 parent 7813c7aaa7
commit 516ce6b15c
7 files changed
+32 -15

No files matched your search

+2 -2
View File
@@ -4,8 +4,8 @@
namespace FEXCore {
WorkQueueThread::WorkQueueThread(FEXCore::Threads::Flags ThreadFlags) {
Thread = FEXCore::Threads::Thread::Create(ThreadEntry, this, ThreadFlags);
WorkQueueThread::WorkQueueThread(FEXCore::Threads::Flags ThreadFlags, const char* ThreadName) {
Thread = FEXCore::Threads::Thread::Create(ThreadEntry, this, ThreadFlags, ThreadName);
}
WorkQueueThread::~WorkQueueThread() {