[gimp] app: improve description comment of GimpAsync



commit ca6e4eb4608d93774c86518e0d93ddfea881c0b1
Author: Ell <ell_se yahoo com>
Date:   Wed Oct 10 00:56:06 2018 -0400

    app: improve description comment of GimpAsync

 app/core/gimpasync.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/app/core/gimpasync.c b/app/core/gimpasync.c
index 77ecd947f1..59a81ca99c 100644
--- a/app/core/gimpasync.c
+++ b/app/core/gimpasync.c
@@ -43,15 +43,17 @@
  *
  * Similarly, upon creation, a GimpAsync object is said to be "unsynced".  It
  * becomes synced once the execution of any of the completion callbacks added
- * through 'gimp_async_add_callback()' had started, after a successful call to
- * one of the 'gimp_waitable_wait()' family of functions.
+ * through 'gimp_async_add_callback()' had started, or after a successful call
+ * to one of the 'gimp_waitable_wait()' family of functions.
  *
  * Note that certain GimpAsync functions may only be called during a certain
- * state, on a certain thread, or depending on whether or nor the object is
+ * state, on a certain thread, or depending on whether or not the object is
  * synced, as detailed for each function.  When referring to threads, the "main
- * thread" is the thread running the main loop, and the "async thread" is the
- * thread calling 'gimp_async_finish()' or 'gimp_async_abort()' (which may also
- * be the main thread).
+ * thread" is the thread running the main loop, or any thread whose execution
+ * is synchronized with the main thread, and the "async thread" is the thread
+ * calling 'gimp_async_finish()' or 'gimp_async_abort()' (which may also be the
+ * main thread), or any thread whose execution is synchronized with the async
+ * thread.
  */
 
 


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