Change the default size of thread pool from 3 to 1

Concurrently decoding three image files can stall animations even on a
dual core system, reducing to 1 concurrent image decoding thread.
This commit is contained in:
Øyvind Kolås 2009-03-10 13:00:57 +00:00
parent 1626d6132e
commit e744066e7d

View File

@ -1810,7 +1810,7 @@ clutter_texture_async_load (ClutterTexture *self,
/* This apparently can't fail if exclusive == FALSE */
async_thread_pool
= g_thread_pool_new (clutter_texture_thread_func,
NULL, 3, FALSE, NULL);
NULL, 1, FALSE, NULL);
g_thread_pool_push (async_thread_pool, data, NULL);
}