mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-10 00:41:19 +12:00
Update thread names (#1120)
This commit is contained in:
parent
731713de3a
commit
eaa82817dd
20 changed files with 29 additions and 12 deletions
|
@ -1,3 +1,4 @@
|
|||
#include <util/helpers/helpers.h>
|
||||
#include "iosu_odm.h"
|
||||
#include "config/ActiveSettings.h"
|
||||
#include "Common/FileStream.h"
|
||||
|
@ -79,6 +80,7 @@ namespace iosu
|
|||
|
||||
void ODMServiceThread()
|
||||
{
|
||||
SetThreadName("ODMService");
|
||||
s_msgQueueId = IOS_CreateMessageQueue(_s_msgBuffer.GetPtr(), _s_msgBuffer.GetCount());
|
||||
cemu_assert(!IOS_ResultIsError((IOS_ERROR)s_msgQueueId));
|
||||
IOS_ERROR r = IOS_RegisterResourceManager(s_devicePath.c_str(), s_msgQueueId);
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include <util/helpers/helpers.h>
|
||||
#include "iosu_pdm.h"
|
||||
#include "Cafe/CafeSystem.h"
|
||||
#include "config/ActiveSettings.h"
|
||||
|
@ -387,6 +388,7 @@ namespace iosu
|
|||
|
||||
void TimeTrackingThread(uint64 titleId)
|
||||
{
|
||||
SetThreadName("PlayDiaryThread");
|
||||
PlayStatsEntry* playStatsEntry = PlayStats_BeginNewTracking(titleId);
|
||||
|
||||
auto startTime = std::chrono::steady_clock::now();
|
||||
|
|
|
@ -155,6 +155,7 @@ namespace iosu
|
|||
|
||||
void IPCService::ServiceThread()
|
||||
{
|
||||
SetThreadName("IPCService");
|
||||
m_msgQueueId = IOS_CreateMessageQueue(_m_msgBuffer.GetPtr(), _m_msgBuffer.GetCount());
|
||||
cemu_assert(!IOS_ResultIsError((IOS_ERROR)m_msgQueueId));
|
||||
IOS_ERROR r = IOS_RegisterResourceManager(m_devicePath.c_str(), m_msgQueueId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue