summaryrefslogtreecommitdiffstats
path: root/bus/test-main.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-06 19:12:45 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-06 19:12:45 +0000
commitbc8b061eec0fd9de6552a9e6118c40283863b6dc (patch)
tree473a4986783581d1b69364173fa48ee9ce8d505d /bus/test-main.c
parent6d54407dbb089dd0b0d8d79189b029c4d82bae81 (diff)
2003-04-06 Havoc Pennington <hp@pobox.com>
* dbus/dbus-threads.c: Redo how the fake debug mutexes are done so it detects deadlocks and also we actually init threads when debugging.
Diffstat (limited to 'bus/test-main.c')
-rw-r--r--bus/test-main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bus/test-main.c b/bus/test-main.c
index 8ef6bfc4..73491487 100644
--- a/bus/test-main.c
+++ b/bus/test-main.c
@@ -68,6 +68,12 @@ main (int argc, char **argv)
}
_dbus_string_init_const (&test_data_dir, dir);
+
+#if 0
+ /* FIXME this is disabled because of thread bugs that need fixing... */
+ if (!_dbus_threads_init_debug ())
+ die ("initializing debug threads");
+#endif
printf ("%s: Running config file parser test\n", argv[0]);
if (!bus_config_parser_test (&test_data_dir))