pidgin: 2aca916c: Add a note about the timeout_add uiop be...

datallah at pidgin.im datallah at pidgin.im
Thu Aug 14 00:40:51 EDT 2008


-----------------------------------------------------------------
Revision: 2aca916ce22bd6fde6d3d4210079929323b5ab65
Ancestor: 1e183bf34c7e53875e2aded3b5187b1839a2887a
Author: datallah at pidgin.im
Date: 2008-08-14T02:36:56
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2aca916ce22bd6fde6d3d4210079929323b5ab65

Modified files:
        libpurple/eventloop.h

ChangeLog: 

Add a note about the timeout_add uiop being used to synchronize threads on win32.

-------------- next part --------------
============================================================
--- libpurple/eventloop.h	e9f1a02aeb28a9081accbbb6b9b5247d20aad2a4
+++ libpurple/eventloop.h	1ba65776a26459824c5d3d87162d595050025191
@@ -67,6 +67,10 @@ struct _PurpleEventLoopUiOps
 	 *
 	 * Analogous to g_timeout_add in glib.
 	 *
+	 * Note: On Win32, this function may be called from a thread other than
+	 * the libpurple thread.  You should make sure to detect this situation
+	 * and to only call "function" from the libpurple thread.
+	 *
 	 * @param interval the interval in <em>milliseconds</em> between calls
 	 *                 to @a function.
 	 * @param data     arbitrary data to be passed to @a function at each


More information about the Commits mailing list