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:
parent
1626d6132e
commit
e744066e7d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user