diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-08-18 15:46:59 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-08-18 15:46:59 +0000 |
commit | 7cd52919443f190fa1601a3d1bac5c8ce8d9ecc1 (patch) | |
tree | a64ecefa2f5115e67097d1b51aaebec9bad86237 /dbus/dbus-internals.h | |
parent | 711c065e5965cdf7a5869ecc3c3d43fb0dede34d (diff) |
Patch provided by Ralf Habacker (ralf dot habacker at freenet dot de)
* dbus/dbus-sysdeps.c, dbus/dbus-threads.c, dbus/dbus-internals.h:
Add two more global locks for use on windows platforms. These are
unused on non-windows platforms but are not ifdefed out to avoid
potential bugs (i.e. the few bytes lost does not warrent the extra
maintanence and complexity that having seperate sets of locks would
cause)
Diffstat (limited to 'dbus/dbus-internals.h')
-rw-r--r-- | dbus/dbus-internals.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dbus/dbus-internals.h b/dbus/dbus-internals.h index 5d0d2498..9deee993 100644 --- a/dbus/dbus-internals.h +++ b/dbus/dbus-internals.h @@ -281,7 +281,9 @@ _DBUS_DECLARE_GLOBAL_LOCK (shutdown_funcs); _DBUS_DECLARE_GLOBAL_LOCK (system_users); _DBUS_DECLARE_GLOBAL_LOCK (message_cache); _DBUS_DECLARE_GLOBAL_LOCK (shared_connections); -#define _DBUS_N_GLOBAL_LOCKS (11) +_DBUS_DECLARE_GLOBAL_LOCK (win_fds); +_DBUS_DECLARE_GLOBAL_LOCK (sid_atom_cache); +#define _DBUS_N_GLOBAL_LOCKS (13) dbus_bool_t _dbus_threads_init_debug (void); |