* tests/threadpool-test.c: Stop unused threads before
the last test, to make the test terminate reliably.
svn path=/trunk/; revision=5477
2007-05-02 Matthias Clasen <mclasen@redhat.com>
+ * tests/threadpool-test.c: Stop unused threads before
+ the last test, to make the test terminate reliably.
+
* NEWS: Updates
2007-05-02 Marco Barisione <marco@barisione.org>
test_thread_sort (TRUE);
break;
case 6:
+ test_thread_stop_unused ();
+ break;
+ case 7:
test_thread_idle_time ();
break;
default:
G_UNLOCK (thread_counter_sort);
}
- if (test_number == 6) {
+ if (test_number == 7) {
guint idle;
idle = g_thread_pool_get_num_unused_threads ();