Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686810 for now.
https://bugzilla.gnome.org/show_bug.cgi?id=687223 discusses a nicer
fix for later.
g_task_thread_pool_init (void)
{
task_pool = g_thread_pool_new (g_task_thread_pool_thread, NULL,
- 10, FALSE, NULL);
+ 100, FALSE, NULL);
g_assert (task_pool != NULL);
g_thread_pool_set_sort_function (task_pool, g_task_compare_priority, NULL);
g_task_return_boolean (task, TRUE);
}
-#define G_TASK_THREAD_POOL_SIZE 10
+#define G_TASK_THREAD_POOL_SIZE 100
static void
test_run_in_thread_priority (void)