[glib] docs: Clarify the thread-default GMainContext where the result is sent



commit 3c5b59ddca9c7c4f5346794032be8305f9094afd
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Jun 16 14:16:41 2017 +0200

    docs: Clarify the thread-default GMainContext where the result is sent
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783825

 gio/gsimpleasyncresult.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gio/gsimpleasyncresult.c b/gio/gsimpleasyncresult.c
index 7883463..c6ddd97 100644
--- a/gio/gsimpleasyncresult.c
+++ b/gio/gsimpleasyncresult.c
@@ -84,9 +84,10 @@
  * from the point where it is called. g_simple_async_result_complete_in_idle()
  * will finish it from an idle handler in the 
  * [thread-default main context][g-main-context-push-thread-default]
- * . g_simple_async_result_run_in_thread() will run the
- * job in a separate thread and then deliver the result to the
- * thread-default main context.
+ * where the #GSimpleAsyncResult was created.
+ * g_simple_async_result_run_in_thread() will run the job in a
+ * separate thread and then use
+ * g_simple_async_result_complete_in_idle() to deliver the result.
  *
  * To set the results of an asynchronous function,
  * g_simple_async_result_set_op_res_gpointer(),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]