dbus/test
John (J5) Palmieri 14cc7d28a8 * dbus/dbus-threads.c: Add static DBusList *uninitialized_mutex_list and
static DBusList *uninitialized_condvar_list to support new late
        initialization threading model.  In this model threads can be initialized
        even after the D-Bus API has been used but still needs to be initialized
        before the second thread has been started.  Mutexes and condvar addresses
        are stored in the two static lists and are replaced with actuall locks
        when threads are initalized.
        (_dbus_mutex_new_at_location): New method for creating a mutex and placing
        the location into the static list
        (_dbus_mutex_free_at_location): New method for removing a mutex location
        from the static list and freeing the mutex
        (_dbus_condvar_new_at_location): New method for creating a conditional
        variable and placing the location into the static list
        (_dbus_condvar_free_at_location): New method for removing a conditional
        variable location from the static list and freeing the conditional variable
        (init_uninitialized_locks): Atomic method which goes through the static
        lists of mutex and condvar location and updates them with actuall locks
        (init_global_locks): changed to init_locks

        * dbus/dbus-connection.c:
        (_dbus_connection_test_get_locks): New method for tests to check connections
        (_dbus_connection_new_for_transport): Use the new at_location mutex and
        condvar API
        (dbus_connection_allocate_data_slot): Pass in the global lock address
        to _dbus_data_slot_allocator_alloc

        * dbus/dbus-dataslot.c:
        (_dbus_data_slot_allocator_alloc): Use the address of the mutex
        instead of the mutex itself

        * dbus/dbus-message.c:
        (dbus_message_allocate_data_slot): Pass in the global lock address
        to _dbus_data_slot_allocator_alloc

        * dbus/dbus-pending-call.c:
        (dbus_pending_call_allocate_data_slot): Pass in the global lock address
        to _dbus_data_slot_allocator_alloc

        * dbus/dbus-server.c:
        (_dbus_server_init_base): Use the new at_location mutex API
        (dbus_server_allocate_data_slot): Pass in the global lock address
        to _dbus_data_slot_allocator_alloc

        * test/name-test/test-threads-init.c: New test case for late thread
        initialization
2006-08-16 22:30:15 +00:00
..
data * Remove all bindings 2006-07-14 16:20:12 +00:00
glib * Remove all bindings 2006-07-14 16:20:12 +00:00
name-test * dbus/dbus-threads.c: Add static DBusList *uninitialized_mutex_list and 2006-08-16 22:30:15 +00:00
.cvsignore * dbus/dbus-marshal-validate.c, doc/dbus-specification.xml, 2005-09-12 08:19:33 +00:00
break-loader.c 2005-01-15 Havoc Pennington <hp@redhat.com> 2005-01-15 07:15:38 +00:00
decode-gcov.c 2004-12-24 Havoc Pennington <hp@redhat.com> 2004-12-24 17:54:01 +00:00
Makefile.am * Remove all bindings 2006-07-14 16:20:12 +00:00
shell-test.c Patches by Kjartan Maraas <kmaraas at gnome dot org> 2006-08-14 19:11:35 +00:00
spawn-test.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-exit.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-names.c Patches by Kjartan Maraas <kmaraas at gnome dot org> 2006-08-14 19:11:35 +00:00
test-segfault.c * dbus/dbus-auth.c, dbus/dbus-connection.c, dbus/dbus-keyring.c, 2005-11-30 19:32:27 +00:00
test-service.c Patches by Kjartan Maraas <kmaraas at gnome dot org> 2006-08-14 19:11:35 +00:00
test-shell-service.c Patches by Kjartan Maraas <kmaraas at gnome dot org> 2006-08-14 19:11:35 +00:00
test-sleep-forever.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-utils.c * dbus/dbus-auth.c, dbus/dbus-connection.c, dbus/dbus-keyring.c, 2005-11-30 19:32:27 +00:00
test-utils.h 2003-04-07 Havoc Pennington <hp@redhat.com> 2003-04-07 23:28:16 +00:00
unused-code-gc.py 2005-01-16 Havoc Pennington <hp@redhat.com> 2005-01-17 03:53:40 +00:00