raster pushed a commit to branch master.

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

commit bb7e8456c4102ea05140d16c6d3e8154f2f74401
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Jul 23 19:26:56 2017 +0900

    eina debug timer - handle fail wakeup write with error complaint
    
    fix CID 1377528
---
 src/lib/eina/eina_debug_timer.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_debug_timer.c b/src/lib/eina/eina_debug_timer.c
index fa3fd1a549..fb1d632188 100644
--- a/src/lib/eina/eina_debug_timer.c
+++ b/src/lib/eina/eina_debug_timer.c
@@ -78,7 +78,8 @@ end:
    t->rel_time = t->timeout - prev_time;
    if (!t2) _timers = eina_list_append(_timers, t);
    else _timers = eina_list_prepend_relative(_timers, t, t2);
-   write(pipeToThread[1], &c, 1);
+   if (write(pipeToThread[1], &c, 1) != 1)
+     e_debug("EINA DEBUG ERROR: Can't wake up thread for debug timer");
 }
 
 static void *

-- 


Reply via email to