From cc73b3da32ff6d4bebe9013b812f2845ad282cf7 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Thu, 24 Feb 2005 18:37:16 +0000 Subject: 2005-02-24 Havoc Pennington * dbus/dbus-server.c, dbus/dbus-server-unix.c: change semantics so you must disconnect before unref, since locking and other things are screwed up otherwise. Fix assorted other locking stuff. * dbus/dbus-signature.c (dbus_signature_iter_get_element_type): fix compilation * dbus/dbus-threads-internal.h: move the mutex/condvar wrappers into a private header and don't export from the library * throughout - call _dbus_thread_stuff vs. dbus_thread_stuff --- test/glib/test-profile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/glib') diff --git a/test/glib/test-profile.c b/test/glib/test-profile.c index ec0e4fd0..ca4f33c0 100644 --- a/test/glib/test-profile.c +++ b/test/glib/test-profile.c @@ -48,7 +48,7 @@ */ #define N_CLIENT_THREADS 1 /* It seems like at least 750000 or so iterations reduces the variability to sane levels */ -#define N_ITERATIONS 750 +#define N_ITERATIONS 750000 #define N_PROGRESS_UPDATES 20 /* Don't make PAYLOAD_SIZE too huge because it gets used as a static buffer size */ #define PAYLOAD_SIZE 0 @@ -303,8 +303,9 @@ no_bus_init_server (ServerData *sd) static void no_bus_stop_server (ServerData *sd, - void *server) + void *server) { + dbus_server_disconnect (server); dbus_server_unref (server); } -- cgit