Skip to content

Commit

Permalink
Analytics: Set propper thread name.
Browse files Browse the repository at this point in the history
  • Loading branch information
degasus committed May 3, 2017
1 parent 30ec0c8 commit 4ff71c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/Common/Analytics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "Common/Analytics.h"
#include "Common/CommonTypes.h"
#include "Common/StringUtil.h"
#include "Common/Thread.h"

namespace Common
{
Expand Down Expand Up @@ -147,6 +148,7 @@ void AnalyticsReporter::Send(AnalyticsReportBuilder&& report)

void AnalyticsReporter::ThreadProc()
{
Common::SetCurrentThreadName("Analytics");
while (true)
{
m_reporter_event.Wait();
Expand Down

0 comments on commit 4ff71c3

Please sign in to comment.