mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
Analytics: Set proper thread name.
This commit is contained in:
parent
afb0beb9ab
commit
7389f0f55e
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue