diff options
author | Eion Robb <eion@robbmob.com> | 2012-07-31 05:23:47 +0400 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2012-07-31 05:23:47 +0400 |
commit | 90dcc29a402d7b1c0647fe531d0e77e8aee14874 (patch) | |
tree | 8b02d224c1a75deb8fb037f38efb4922187e6cc3 | |
parent | 6eda1c8266ae7d3b5a60e273cad6b17eb6d25699 (diff) |
Create less threads on Win32 to be able to handle many more simultaneous messages at once
-rw-r--r-- | skype_messaging_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |