mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Analytics: Set proper thread name.
This commit is contained in:
@ -10,6 +10,7 @@
|
|||||||
#include "Common/Analytics.h"
|
#include "Common/Analytics.h"
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Common/StringUtil.h"
|
#include "Common/StringUtil.h"
|
||||||
|
#include "Common/Thread.h"
|
||||||
|
|
||||||
namespace Common
|
namespace Common
|
||||||
{
|
{
|
||||||
@ -147,6 +148,7 @@ void AnalyticsReporter::Send(AnalyticsReportBuilder&& report)
|
|||||||
|
|
||||||
void AnalyticsReporter::ThreadProc()
|
void AnalyticsReporter::ThreadProc()
|
||||||
{
|
{
|
||||||
|
Common::SetCurrentThreadName("Analytics");
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
m_reporter_event.Wait();
|
m_reporter_event.Wait();
|
||||||
|
Reference in New Issue
Block a user