eina debug timer - handle fail wakeup write with error complaint

fix CID 1377528
This commit is contained in:
Carsten Haitzler 2017-07-23 19:26:56 +09:00
parent 144f5f73e0
commit bb7e8456c4
1 changed files with 2 additions and 1 deletions

View File

@ -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 *