cedric pushed a commit to branch master.

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

commit e0c8ab4c792c3ded7f4189a890a1cc7ab18e76e0
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Apr 6 10:08:24 2018 -0700

    ecore: reduce pipe wait time during shutdown
    
    Summary:
    this is only meant to listen to data which is currently available,
    not wait for new data
    
    @fix
    
    Depends on D5866
    
    Reviewers: cedric
    
    Reviewed By: cedric
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D5867
    
    Reviewed-by: Cedric Bail <ced...@osg.samsung.com>
---
 src/lib/ecore/ecore.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index dce0b55a8f..9c42f5bdc9 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -424,10 +424,10 @@ ecore_shutdown(void)
     * It should be fine now as we do wait for thread to shutdown before
     * we try to destroy the pipe.
     */
-     _ecore_pipe_wait(_thread_call, 1, 0.1);
+     _ecore_pipe_wait(_thread_call, 1, 0.01);
      p = _thread_call;
      _thread_call = NULL;
-     _ecore_pipe_wait(p, 1, 0.1);
+     _ecore_pipe_wait(p, 1, 0.01);
      _ecore_pipe_del(p);
      eina_lock_free(&_thread_safety);
      eina_condition_free(&_thread_cond);

-- 


Reply via email to