[glib: 5/6] gmain: Indicate atomic fields with a comment



commit dd36cf3a8b29dc007e1aa18f7e7b4a329115ce28
Author: Tomasz Miąsko <tomasz miasko gmail com>
Date:   Tue Nov 13 00:00:00 2018 +0000

    gmain: Indicate atomic fields with a comment

 glib/gmain.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gmain.c b/glib/gmain.c
index 85d0f2e43..5e849b9ac 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -327,7 +327,7 @@ struct _GChildWatchSource
 #ifdef G_OS_WIN32
   GPollFD     poll;
 #else /* G_OS_WIN32 */
-  gboolean    child_exited;
+  gboolean    child_exited; /* (atomic) */
 #endif /* G_OS_WIN32 */
 };
 
@@ -335,7 +335,7 @@ struct _GUnixSignalWatchSource
 {
   GSource     source;
   int         signum;
-  gboolean    pending;
+  gboolean    pending; /* (atomic) */
 };
 
 struct _GPollRec


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