From 3e4284bb32b1515cdcac6741d2c2e94f64f08063 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sat, 11 Jun 2016 23:45:23 +0000 Subject: MRA: change avatars load threads count default value from 4 to 1 add threads names git-svn-id: http://svn.miranda-ng.org/main/trunk@16948 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/statistic.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/HistoryStats') diff --git a/plugins/HistoryStats/src/statistic.cpp b/plugins/HistoryStats/src/statistic.cpp index d0b349934b..9bcdaaa201 100644 --- a/plugins/HistoryStats/src/statistic.cpp +++ b/plugins/HistoryStats/src/statistic.cpp @@ -1370,6 +1370,8 @@ bool Statistic::createStatisticsSteps() void __cdecl Statistic::threadProc(void *lpParameter) { + Thread_SetName("HistoryStats: Statistic::threadProc"); + Statistic* pStats = reinterpret_cast(lpParameter); SetEvent(pStats->m_hThreadPushEvent); @@ -1388,6 +1390,7 @@ void __cdecl Statistic::threadProc(void *lpParameter) void __cdecl Statistic::threadProcSteps(void *lpParameter) { + Thread_SetName("HistoryStats: Statistic::threadProcSteps"); Statistic* pStats = reinterpret_cast(lpParameter); if (pStats->m_Settings.m_ThreadLowPriority) SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_BELOW_NORMAL); -- cgit v1.2.3