summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Analytics.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2017-04-29 09:29:52 +0200
committerdegasus <wickmarkus@web.de>2017-05-03 23:59:29 +0200
commit7389f0f55e160e9b0299bbae0c217457fdc4f1de (patch)
tree87527d676cb4fbd4b2f940fbb0685af76b41b3b4 /Source/Core/Common/Analytics.cpp
parentafb0beb9ab7872ea402906af69704cbb3a4d6eaa (diff)
Analytics: Set proper thread name.
Diffstat (limited to 'Source/Core/Common/Analytics.cpp')
-rw-r--r--Source/Core/Common/Analytics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Common/Analytics.cpp b/Source/Core/Common/Analytics.cpp
index 233badebd2..ed9f8cf112 100644
--- a/Source/Core/Common/Analytics.cpp
+++ b/Source/Core/Common/Analytics.cpp
@@ -10,6 +10,7 @@
#include "Common/Analytics.h"
#include "Common/CommonTypes.h"
#include "Common/StringUtil.h"
+#include "Common/Thread.h"
namespace Common
{
@@ -147,6 +148,7 @@ void AnalyticsReporter::Send(AnalyticsReportBuilder&& report)
void AnalyticsReporter::ThreadProc()
{
+ Common::SetCurrentThreadName("Analytics");
while (true)
{
m_reporter_event.Wait();