From 55bdb519624e620c931392e98aa1f05482e21a3a Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 24 May 2012 10:13:30 +0000 Subject: [PATCH] ok ok - doesnt make a difference.. but only limit if MORE than 16xcpu count SVN revision: 71409 --- legacy/ecore/src/lib/ecore/ecore_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore/ecore_thread.c b/legacy/ecore/src/lib/ecore/ecore_thread.c index 8424ca115c..78f74f3b47 100644 --- a/legacy/ecore/src/lib/ecore/ecore_thread.c +++ b/legacy/ecore/src/lib/ecore/ecore_thread.c @@ -1181,7 +1181,7 @@ ecore_thread_max_set(int num) EINA_MAIN_LOOP_CHECK_RETURN; if (num < 1) return; /* avoid doing something hilarious by blocking dumb users */ - if (num >= (16 * eina_cpu_count())) num = 16 * eina_cpu_count(); + if (num > (16 * eina_cpu_count())) num = 16 * eina_cpu_count(); _ecore_thread_count_max = num; }