diff options
author | Simon McVittie <smcv@collabora.com> | 2013-09-03 12:33:37 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2019-12-12 09:36:24 +0100 |
commit | 4e3d6bffe26039d694e44a12d31d9db35e5183c0 (patch) | |
tree | 01f27d07c0f51df9954d606599256f036d800068 /dbus/dbus-internals.c | |
parent | 5c0575850fe17177bc1b82ff2fe1a1e4dc4e9261 (diff) | |
download | dbus-4e3d6bffe26039d694e44a12d31d9db35e5183c0.tar.gz |
various: comment static variables that are locked or otherwise OK
Diffstat (limited to 'dbus/dbus-internals.c')
-rw-r--r-- | dbus/dbus-internals.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dbus/dbus-internals.c b/dbus/dbus-internals.c index 7420f203..7eb85501 100644 --- a/dbus/dbus-internals.c +++ b/dbus/dbus-internals.c @@ -184,7 +184,14 @@ */ const char *_dbus_no_memory_message = "Not enough memory"; +/* Not necessarily thread-safe, but if writes don't propagate between + * threads, the worst that will happen is that we duplicate work in more than + * one thread. */ static dbus_bool_t warn_initted = FALSE; + +/* Not necessarily thread-safe, but if writes don't propagate between + * threads, the worst that will happen is that warnings get their default + * fatal/non-fatal nature. */ static dbus_bool_t fatal_warnings = FALSE; static dbus_bool_t fatal_warnings_on_check_failed = TRUE; |