summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-04-03 17:57:40 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-04-03 17:57:40 -0400
commit6d553b5c66b4fe7dd3d9f24ac8dd4840a1b1e3ca (patch)
tree679bec84bde0ef3b49523f5ee746f3948eeec00f
parentd374452d37579880658eb092b6680e0ade257036 (diff)
ecore: reduce pipe wait time during shutdowndevs/discomfitor/thread
this is only meant to listen to data which is currently available, not wait for new data @fix
-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 dce0b55a8f..9c42f5bdc9 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -424,10 +424,10 @@ ecore_shutdown(void)
424 * It should be fine now as we do wait for thread to shutdown before 424 * It should be fine now as we do wait for thread to shutdown before
425 * we try to destroy the pipe. 425 * we try to destroy the pipe.
426 */ 426 */
427 _ecore_pipe_wait(_thread_call, 1, 0.1); 427 _ecore_pipe_wait(_thread_call, 1, 0.01);
428 p = _thread_call; 428 p = _thread_call;
429 _thread_call = NULL; 429 _thread_call = NULL;
430 _ecore_pipe_wait(p, 1, 0.1); 430 _ecore_pipe_wait(p, 1, 0.01);
431 _ecore_pipe_del(p); 431 _ecore_pipe_del(p);
432 eina_lock_free(&_thread_safety); 432 eina_lock_free(&_thread_safety);
433 eina_condition_free(&_thread_cond); 433 eina_condition_free(&_thread_cond);