From e744066e7d82813d9d70d032068c7e6d51fc9f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Tue, 10 Mar 2009 13:00:57 +0000 Subject: [PATCH] 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. --- clutter/clutter-texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c index 141da4f08..88329c2b5 100644 --- a/clutter/clutter-texture.c +++ b/clutter/clutter-texture.c @@ -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); }