dbus/test/glib test-profile.c,1.20,1.21
Havoc Pennington
hp at freedesktop.org
Thu Feb 24 10:37:18 PST 2005
- Previous message: dbus ChangeLog,1.715,1.716
- Next message: dbus/dbus Makefile.am, 1.67, 1.68 dbus-connection.c, 1.99,
1.100 dbus-dataslot.c, 1.8, 1.9 dbus-internals.h, 1.52,
1.53 dbus-server-protected.h, 1.16, 1.17 dbus-server-unix.c,
1.26, 1.27 dbus-server.c, 1.38, 1.39 dbus-signature.c, 1.1,
1.2 dbus-threads.c, 1.21, 1.22 dbus-threads.h, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/test/glib
In directory gabe:/tmp/cvs-serv14225/test/glib
Modified Files:
test-profile.c
Log Message:
2005-02-24 Havoc Pennington <hp at 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
Index: test-profile.c
===================================================================
RCS file: /cvs/dbus/dbus/test/glib/test-profile.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- test-profile.c 17 Feb 2005 21:19:48 -0000 1.20
+++ test-profile.c 24 Feb 2005 18:37:16 -0000 1.21
@@ -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 @@
static void
no_bus_stop_server (ServerData *sd,
- void *server)
+ void *server)
{
+ dbus_server_disconnect (server);
dbus_server_unref (server);
}
- Previous message: dbus ChangeLog,1.715,1.716
- Next message: dbus/dbus Makefile.am, 1.67, 1.68 dbus-connection.c, 1.99,
1.100 dbus-dataslot.c, 1.8, 1.9 dbus-internals.h, 1.52,
1.53 dbus-server-protected.h, 1.16, 1.17 dbus-server-unix.c,
1.26, 1.27 dbus-server.c, 1.38, 1.39 dbus-signature.c, 1.1,
1.2 dbus-threads.c, 1.21, 1.22 dbus-threads.h, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list