summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-09-19 10:41:58 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-09-19 10:45:56 +0200
commit6bf537d43d2f7ebcfee15dfcbb559dbe9cf89b12 (patch)
tree3ba2783754205d061e18128a5713b8fe808e764f /src/lib/evas/common
parentfc0c0a6e0b967fb283f121ee38d396e848e4f73e (diff)
Revert "render_thread: Attempt to set affinity to a random fast core"
This reverts commit a17ac66f0a0b089dde0b2e550523b0d59ec97f52. This change broke every efl build locally, as well as on Jenkins, for me. CLD lib/ethumb_client/libethumb_client.la /bin/sh: line 2: 10047 Segmentation fault (core dumped) EFL_RUN_IN_TREE=1 ../src/bin/edje/edje_cc -id . -fd . -id ./tests/emotion/data tests/emotion/data/theme.edc tests/emotion/data/theme.edj Makefile:52584: recipe for target 'tests/emotion/data/theme.edj' failed make[4]: *** [tests/emotion/data/theme.edj] Error 139 make[4]: *** Waiting for unfinished jobs.... /bin/sh: line 2: 10088 Segmentation fault (core dumped) EFL_RUN_IN_TREE=1 ../src/bin/edje/edje_cc -id . -fd . -id ./modules/ethumb/emotion modules/ethumb/emotion/template.edc modules/ethumb/emotion/template.edj Makefile:52590: recipe for target 'modules/ethumb/emotion/template.edj' failed make[4]: *** [modules/ethumb/emotion/template.edj] Error 139 /bin/sh: line 2: 10119 Segmentation fault (core dumped) EFL_RUN_IN_TREE=1 ../src/bin/edje/edje_cc -id . -fd . -id ../src/modules/elementary/prefs/ modules/elementary/prefs/elm_prefs_swallow.edc modules/elementary/prefs/elm_prefs_swallow.edj Makefile:52614: recipe for target 'modules/elementary/prefs/elm_prefs_swallow.edj' failed make[4]: *** [modules/elementary/prefs/elm_prefs_swallow.edj] Error 139
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r--src/lib/evas/common/evas_thread_render.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/evas/common/evas_thread_render.c b/src/lib/evas/common/evas_thread_render.c
index 562ef29eee..623e40e4f4 100644
--- a/src/lib/evas/common/evas_thread_render.c
+++ b/src/lib/evas/common/evas_thread_render.c
@@ -1,5 +1,4 @@
1#include "evas_common_private.h" 1#include "evas_common_private.h"
2#include "eina_cpu_private.h"
3 2
4#include <assert.h> 3#include <assert.h>
5 4
@@ -126,8 +125,6 @@ out:
126void 125void
127evas_thread_init(void) 126evas_thread_init(void)
128{ 127{
129 int core;
130
131 if (init_count++) return; 128 if (init_count++) return;
132 129
133 eina_threads_init(); 130 eina_threads_init();
@@ -138,9 +135,7 @@ evas_thread_init(void)
138 CRI("Could not create draw thread lock"); 135 CRI("Could not create draw thread lock");
139 if (!eina_condition_new(&evas_thread_queue_condition, &evas_thread_queue_lock)) 136 if (!eina_condition_new(&evas_thread_queue_condition, &evas_thread_queue_lock))
140 CRI("Could not create draw thread condition"); 137 CRI("Could not create draw thread condition");
141 138 if (!eina_thread_create(&evas_thread_worker, EINA_THREAD_NORMAL, 0,
142 core = _eina_cpu_fast_core_get();
143 if (!eina_thread_create(&evas_thread_worker, EINA_THREAD_NORMAL, core,
144 evas_thread_worker_func, NULL)) 139 evas_thread_worker_func, NULL))
145 if (!eina_thread_create(&evas_thread_worker, EINA_THREAD_NORMAL, -1, 140 if (!eina_thread_create(&evas_thread_worker, EINA_THREAD_NORMAL, -1,
146 evas_thread_worker_func, NULL)) 141 evas_thread_worker_func, NULL))