raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=beaa9b386452bdbaa8e444dddcb008d6d63f4ec8
commit beaa9b386452bdbaa8e444dddcb008d6d63f4ec8 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Fri May 15 19:05:33 2015 +0900 eina - cpu count - fic cpu count to count # of cores correctly @fix this fixes the cpu count to count the numebr of available cores correctly. before if core 0 happened to be off, we'd get 0 cpu cores available due to the break --- src/lib/eina/eina_cpu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/eina/eina_cpu.c b/src/lib/eina/eina_cpu.c index 08b0860..b1a5ecc 100644 --- a/src/lib/eina/eina_cpu.c +++ b/src/lib/eina/eina_cpu.c @@ -228,9 +228,7 @@ _eina_cpu_count_internal(void) for (i = 0; i < TH_MAX; i++) { if (CPU_ISSET(i, &cpu)) - cpus = i + 1; - else - break; + cpus++; } return cpus; --