mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-11 18:00:50 +02:00
Threads: Support setting thread names through creation
Gives the DiskCache a thread name so it's easier to find.
This commit is contained in:
7 files changed
+32
-15
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user