gmain: Indicate atomic fields with a comment

This commit is contained in:
Tomasz Miąsko 2018-11-13 00:00:00 +00:00
parent 969b0e00b3
commit dd36cf3a8b

View File

@ -327,7 +327,7 @@ struct _GChildWatchSource
#ifdef G_OS_WIN32 #ifdef G_OS_WIN32
GPollFD poll; GPollFD poll;
#else /* G_OS_WIN32 */ #else /* G_OS_WIN32 */
gboolean child_exited; gboolean child_exited; /* (atomic) */
#endif /* G_OS_WIN32 */ #endif /* G_OS_WIN32 */
}; };
@ -335,7 +335,7 @@ struct _GUnixSignalWatchSource
{ {
GSource source; GSource source;
int signum; int signum;
gboolean pending; gboolean pending; /* (atomic) */
}; };
struct _GPollRec struct _GPollRec