summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd
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/SmileyAdd
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/SmileyAdd')
-rw-r--r--plugins/SmileyAdd/src/download.cpp2
-rw-r--r--plugins/SmileyAdd/src/smltool.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/SmileyAdd/src/download.cpp b/plugins/SmileyAdd/src/download.cpp
index f0f052b416..5c39cc3844 100644
--- a/plugins/SmileyAdd/src/download.cpp
+++ b/plugins/SmileyAdd/src/download.cpp
@@ -124,6 +124,8 @@ bool InternetDownloadFile(const char *szUrl, char *szDest, HANDLE &hHttpDwnl)
void __cdecl SmileyDownloadThread(void*)
{
+ Thread_SetName("SmileyAdd: SmileyDownloadThread");
+
bool needext = false;
HANDLE hHttpDwnl = NULL;
WaitForSingleObject(g_hDlMutex, 3000);
diff --git a/plugins/SmileyAdd/src/smltool.cpp b/plugins/SmileyAdd/src/smltool.cpp
index d297b8eb26..c310abdbd6 100644
--- a/plugins/SmileyAdd/src/smltool.cpp
+++ b/plugins/SmileyAdd/src/smltool.cpp
@@ -713,6 +713,8 @@ int SmileyToolWindowType::CalculateCoordinatesToButton(POINT pt, int scroll)
void __cdecl SmileyToolThread(void *arg)
{
+ Thread_SetName("SmileyAdd: SmileyToolThread");
+
SmileyToolWindowParam *stwp = (SmileyToolWindowParam*)arg;
if (stwp->pSmileyPack && stwp->pSmileyPack->VisibleSmileyCount()) {
WNDCLASSEX wndclass;