raster pushed a commit to branch efl-1.18.

http://git.enlightenment.org/core/efl.git/commit/?id=67d9f71df4bb940be0bdcb2f8d4c0dd0f4e73ac5

commit 67d9f71df4bb940be0bdcb2f8d4c0dd0f4e73ac5
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Oct 20 22:24:40 2016 +0900

    eocre animator - the anim thread is polled on shutdown use volatile
    
    we sit in a loop wating for animator thread to die on shutdown
    (sleeping for 1000us), so make it a volatile so every check actually
    checks and doesnt cache.
    
    @fix
---
 src/lib/ecore/ecore_anim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c
index dedea47..7f920ec 100644
--- a/src/lib/ecore/ecore_anim.c
+++ b/src/lib/ecore/ecore_anim.c
@@ -67,7 +67,7 @@ static Eina_Bool animator_ran = EINA_FALSE;
 
 static int timer_fd_read = -1;
 static int timer_fd_write = -1;
-static Ecore_Thread *timer_thread = NULL;
+static volatile Ecore_Thread *timer_thread = NULL;
 static volatile int timer_event_is_busy = 0;
 
 static void

-- 


Reply via email to