changeset 23719:dc3c31b78fdb

Add a note about the timeout_add uiop being used to synchronize threads on win32.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 14 Aug 2008 02:36:56 +0000
parents 91169093449d
children abf8ebd4c9e1
files libpurple/eventloop.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/eventloop.h	Tue Aug 12 23:35:02 2008 +0000
+++ b/libpurple/eventloop.h	Thu Aug 14 02:36:56 2008 +0000
@@ -67,6 +67,10 @@
 	 *
 	 * 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