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
This commit is contained in:
Carsten Haitzler 2016-10-20 22:24:40 +09:00
parent aba1223145
commit 522c3d7b75
1 changed files with 1 additions and 1 deletions

View File

@ -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