aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/render2
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-03-02 20:37:32 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-03-06 17:03:47 +0900
commit38446d8daf207133c9fb1b11e50c0bac15ce335d (patch)
treee293e6a3ebe7cf4ff47472c93fcc0f1ed9bb7381 /src/lib/evas/canvas/render2
parentecore_evas_extn: add shared lock mode to the ecore_extn. (diff)
downloadefl-38446d8daf207133c9fb1b11e50c0bac15ce335d.tar.gz
tests: Remove CPU affinity from all threads
I believe that all the threads created in our test suite should be spawned without any special CPU affinity. The default parameter is not 0 (corresponds to the first CPU, known as CPU 0) but -1. Similarily the default priority is NORMAL (1), not 0 (URGENT). This also affects two unused code paths: evas render2 and gl preload. @fix
Diffstat (limited to 'src/lib/evas/canvas/render2')
-rw-r--r--src/lib/evas/canvas/render2/evas_render2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/render2/evas_render2.c b/src/lib/evas/canvas/render2/evas_render2.c
index 3a690bed81..b7dc2652ab 100644
--- a/src/lib/evas/canvas/render2/evas_render2.c
+++ b/src/lib/evas/canvas/render2/evas_render2.c
@@ -53,7 +53,7 @@ _evas_render2_th_init(void)
if (initted) return;
initted = EINA_TRUE;
_th_main_queue = eina_thread_queue_new();
- if (!eina_thread_create(&_th_main, EINA_THREAD_URGENT, 0,
+ if (!eina_thread_create(&_th_main, EINA_THREAD_URGENT, -1,
_evas_render2_th_main, NULL))
ERR("Cannot create render2 thread");
}