mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-30 14:10:10 +01:00
* 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
This commit is contained in:
parent
31c79c0e35
commit
2d760baace
3 changed files with 11 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue