mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 18:20:47 -07:00
Name all threads (#886)
* Name all threads Close #874 * use ThreadName instead of ThreadId in Logging
This commit is contained in:
@ -58,9 +58,12 @@ namespace ARMeilleure.Translation
|
||||
{
|
||||
if (Interlocked.Increment(ref _threadCount) == 1)
|
||||
{
|
||||
Thread backgroundTranslatorThread = new Thread(TranslateQueuedSubs);
|
||||
Thread backgroundTranslatorThread = new Thread(TranslateQueuedSubs)
|
||||
{
|
||||
Name = "CPU.BackgroundTranslatorThread",
|
||||
Priority = ThreadPriority.Lowest
|
||||
};
|
||||
|
||||
backgroundTranslatorThread.Priority = ThreadPriority.Lowest;
|
||||
backgroundTranslatorThread.Start();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user