From 90dcc29a402d7b1c0647fe531d0e77e8aee14874 Mon Sep 17 00:00:00 2001 From: Eion Robb Date: Tue, 31 Jul 2012 01:23:47 +0000 Subject: Create less threads on Win32 to be able to handle many more simultaneous messages at once --- skype_messaging_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skype_messaging_win32.c b/skype_messaging_win32.c index 263a0f3..cd69d6b 100644 --- a/skype_messaging_win32.c +++ b/skype_messaging_win32.c @@ -167,7 +167,7 @@ Skype_WindowProc(HWND hWindow, UINT uiMessage, WPARAM uiParam, LPARAM ulParam) if(uiMessage == WM_COPYDATA && hGlobal_SkypeAPIWindowHandle == (HWND)uiParam) { PCOPYDATASTRUCT poCopyData = (PCOPYDATASTRUCT)ulParam; - g_thread_create((GThreadFunc)skype_message_received, (void *)g_strdup(poCopyData->lpData), FALSE, NULL); + skype_message_received(g_strdup(poCopyData->lpData)); return 1; } else if (uiMessage == uiGlobal_MsgID_SkypeControlAPIAttach) { skype_debug_info("skype_win32", "Attached process %d %d\n", uiParam, ulParam); -- cgit v1.2.3