summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-04-16 10:53:21 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-04-16 10:57:32 -0700
commit9dcf6f71d066d4dc75e6f784595c38e9ab3e6b4e (patch)
treee308fc01564396f22e64045ed5751d3603d70d92
parent77081540694e59146a97678f535d114f8ff4c54e (diff)
downloadefl-9dcf6f71d066d4dc75e6f784595c38e9ab3e6b4e.tar.gz
ecore: further reduce pipe wait time during shutdown.
Summary: it turns out that 0.01s is actually a lot, accounting for something like 20s across a run of 'make check' while providing no additional value ref e0c8ab4c792c3ded7f4189a890a1cc7ab18e76e0 ref T6825 ref T6864 Reviewers: cedric Maniphest Tasks: T6864, T6825 Differential Revision: https://phab.enlightenment.org/D5941 Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/ecore/ecore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index 9c42f5bdc9..102d9a2e87 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.01);
+ _ecore_pipe_wait(_thread_call, 1, 0);
p = _thread_call;
_thread_call = NULL;
- _ecore_pipe_wait(p, 1, 0.01);
+ _ecore_pipe_wait(p, 1, 0);
_ecore_pipe_del(p);
eina_lock_free(&_thread_safety);
eina_condition_free(&_thread_cond);