forked from enlightenment/efl
ecore/thread: increase loop iterations when waiting during shutdown
since this is now a smaller wait interval, looping more times helps ensure success for threads which have longer blocking operations between lifetime checks Differential Revision: https://phab.enlightenment.org/D6436
This commit is contained in:
parent
df652673fe
commit
2ee83cc28d
|
@ -628,7 +628,7 @@ _ecore_thread_shutdown(void)
|
|||
SLKU(_ecore_pending_job_threads_mutex);
|
||||
iteration++;
|
||||
if (test) usleep(1000);
|
||||
} while (test == EINA_TRUE && iteration < 20);
|
||||
} while (test == EINA_TRUE && iteration < 50);
|
||||
|
||||
if (iteration == 20 && _ecore_thread_count > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue