summaryrefslogtreecommitdiff
path: root/plugins/AVS
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AVS')
-rw-r--r--plugins/AVS/src/cache.cpp2
-rw-r--r--plugins/AVS/src/poll.cpp2
-rw-r--r--plugins/AVS/src/services.cpp2
3 files changed, 6 insertions, 0 deletions
diff --git a/plugins/AVS/src/cache.cpp b/plugins/AVS/src/cache.cpp
index 01e3c65a23..57f78e88a3 100644
--- a/plugins/AVS/src/cache.cpp
+++ b/plugins/AVS/src/cache.cpp
@@ -213,6 +213,8 @@ int SetAvatarAttribute(MCONTACT hContact, DWORD attrib, int mode)
void PicLoader(LPVOID)
{
+ Thread_SetName("AVS: PicLoader");
+
DWORD dwDelay = db_get_dw(NULL, AVS_MODULE, "picloader_sleeptime", 80);
if (dwDelay < 30)
diff --git a/plugins/AVS/src/poll.cpp b/plugins/AVS/src/poll.cpp
index 38d09b75e6..a713a71935 100644
--- a/plugins/AVS/src/poll.cpp
+++ b/plugins/AVS/src/poll.cpp
@@ -208,6 +208,8 @@ int FetchAvatarFor(MCONTACT hContact, char *szProto)
static void RequestThread(void *)
{
+ Thread_SetName("AVS: RequestThread");
+
while (!g_shutDown) {
mir_cslockfull lck(cs);
diff --git a/plugins/AVS/src/services.cpp b/plugins/AVS/src/services.cpp
index 3be64cf8df..50f6134e31 100644
--- a/plugins/AVS/src/services.cpp
+++ b/plugins/AVS/src/services.cpp
@@ -799,6 +799,8 @@ INT_PTR GetMyAvatar(WPARAM wParam, LPARAM lParam)
static void ReloadMyAvatar(LPVOID lpParam)
{
+ Thread_SetName("AVS: ReloadMyAvatar");
+
char *szProto = (char *)lpParam;
mir_sleep(500);