summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2016-06-11 23:45:23 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2016-06-11 23:45:23 +0000
commit3e4284bb32b1515cdcac6741d2c2e94f64f08063 (patch)
tree15602d9e534406646b4b10c889809e10ff07ef30 /plugins/NewAwaySysMod
parentf36117c31cd21ba5442be8fd1d7234b1e71380b2 (diff)
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
Diffstat (limited to 'plugins/NewAwaySysMod')
-rw-r--r--plugins/NewAwaySysMod/src/Client.cpp2
-rw-r--r--plugins/NewAwaySysMod/src/MsgEventAdded.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/NewAwaySysMod/src/Client.cpp b/plugins/NewAwaySysMod/src/Client.cpp
index 752e004b15..c08508db61 100644
--- a/plugins/NewAwaySysMod/src/Client.cpp
+++ b/plugins/NewAwaySysMod/src/Client.cpp
@@ -30,6 +30,8 @@ HANDLE g_hUpdateMsgsThread = NULL;
void __cdecl UpdateMsgsThreadProc(void *)
{
+ Thread_SetName("NewAwaySysMod: UpdateMsgsThreadProc");
+
int numAccs;
PROTOACCOUNT **accs;
Proto_EnumAccounts(&numAccs, &accs);
diff --git a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp
index 50da664b4e..6b8d51228f 100644
--- a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp
+++ b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp
@@ -50,6 +50,8 @@ public:
// _ad must be allocated using "new CAutoreplyData()"
void __cdecl AutoreplyDelayThread(void *_ad)
{
+ Thread_SetName("NewAwaySysMod: AutoreplyDelayThread");
+
CAutoreplyData *ad = (CAutoreplyData*)_ad;
_ASSERT(ad && ad->hContact && ad->Reply.GetLen());
char *szProto = GetContactProto(ad->hContact);