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-sysdeps.c | |
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-sysdeps.c')
-rw-r--r-- | dbus/dbus-sysdeps.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dbus/dbus-sysdeps.c b/dbus/dbus-sysdeps.c index 20ff014f..0a97a1d8 100644 --- a/dbus/dbus-sysdeps.c +++ b/dbus/dbus-sysdeps.c @@ -69,6 +69,9 @@ #define socklen_t int #endif +_DBUS_DEFINE_GLOBAL_LOCK (win_fds); +_DBUS_DEFINE_GLOBAL_LOCK (sid_atom_cache); + /** * @addtogroup DBusInternalsUtils * @{ |