* dbus/dbus-threads.h: fix DBUS_THREAD_FUNCTIONS_ALL_MASK to have
authorJohn (J5) Palmieri <johnp@redhat.com>
Tue, 14 Nov 2006 18:56:43 +0000 (18:56 +0000)
committerJohn (J5) Palmieri <johnp@redhat.com>
Tue, 14 Nov 2006 18:56:43 +0000 (18:56 +0000)
  the correct value so we don't assert when initalizing recursive threads

* test/name-test/test-thread-init.c: call dbus_threads_init_default
  instead of _dbus_threads_init_debug since it is more of a real world
  test

ChangeLog
dbus/dbus-threads.h
test/name-test/test-threads-init.c

index eab5982..18ccccf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2006-11-14  John (J5) Palmieri  <johnp@redhat.com>
+
+       * dbus/dbus-threads.h: fix DBUS_THREAD_FUNCTIONS_ALL_MASK to have
+       the correct value so we don't assert when initalizing recursive threads
+
+       * test/name-test/test-thread-init.c: call dbus_threads_init_default
+       instead of _dbus_threads_init_debug since it is more of a real world
+       test
+
 2006-11-09  John (J5) Palmieri  <johnp@redhat.com>
 
        * Released 1.0.0
index 1cf533d..2a7b32c 100644 (file)
@@ -134,7 +134,7 @@ typedef enum
   DBUS_THREAD_FUNCTIONS_RECURSIVE_MUTEX_FREE_MASK   = 1 << 11,
   DBUS_THREAD_FUNCTIONS_RECURSIVE_MUTEX_LOCK_MASK   = 1 << 12,
   DBUS_THREAD_FUNCTIONS_RECURSIVE_MUTEX_UNLOCK_MASK = 1 << 13,
-  DBUS_THREAD_FUNCTIONS_ALL_MASK     = (1 << 13) - 1
+  DBUS_THREAD_FUNCTIONS_ALL_MASK     = (1 << 14) - 1
 } DBusThreadFunctionsMask;
 
 /**
index f059993..8cda413 100644 (file)
@@ -140,7 +140,7 @@ main (int argc, char *argv[])
   check_condvar_lock (dispatch_cond1, dispatch_cond2, TRUE);
   check_condvar_lock (io_path_cond1, io_path_cond2, TRUE);
 
-  _dbus_threads_init_debug ();
+  dbus_threads_init_default ();
 
   _dbus_connection_test_get_locks (conn, &mutex1,
                                          &dispatch_mutex1,