[glib/mcatanzaro/gresolver-reload] Apply 2 suggestion(s) to 1 file(s)
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/mcatanzaro/gresolver-reload] Apply 2 suggestion(s) to 1 file(s)
- Date: Tue, 23 Nov 2021 14:18:47 +0000 (UTC)
commit 915a5500693f4f074010761e7fd426213a9cc3e2
Author: Philip Withnall <philip tecnocode co uk>
Date: Tue Nov 23 14:18:47 2021 +0000
Apply 2 suggestion(s) to 1 file(s)
gio/gresolver.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gio/gresolver.c b/gio/gresolver.c
index 3333215c4..83c7510b8 100644
--- a/gio/gresolver.c
+++ b/gio/gresolver.c
@@ -63,9 +63,10 @@ enum {
static guint signals[LAST_SIGNAL] = { 0 };
struct _GResolverPrivate {
-
+#ifdef G_OS_UNIX
GMutex mutex;
- time_t resolv_conf_timestamp;
+#endif
+ time_t resolv_conf_timestamp; /* protected by @mutex */
};
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]