summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2005-02-24 18:37:16 +0000
committerHavoc Pennington <hp@redhat.com>2005-02-24 18:37:16 +0000
commitcc73b3da32ff6d4bebe9013b812f2845ad282cf7 (patch)
tree6c82eeaeaeb65911a2de97688660f5d4e6a15d71 /test
parent54a2e9f7961b4b8afff94bb0c5b756f986965be6 (diff)
2005-02-24 Havoc Pennington <hp@redhat.com>
* 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
Diffstat (limited to 'test')
-rw-r--r--test/glib/test-profile.c5
1 files changed, 3 insertions, 2 deletions
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);
}