From bc8b061eec0fd9de6552a9e6118c40283863b6dc Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sun, 6 Apr 2003 19:12:45 +0000 Subject: 2003-04-06 Havoc Pennington * dbus/dbus-threads.c: Redo how the fake debug mutexes are done so it detects deadlocks and also we actually init threads when debugging. --- bus/test-main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bus/test-main.c') 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)) -- cgit