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
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