On 09/06/16 03:20, Yousong Zhou wrote:
Fix a race condition when do_sigchld, uloop_cancelled were set just
before epoll_wait(timeout=-1), resulting the loop stuck in the syscall
without noticing the events just happened

Signed-off-by: Yousong Zhou <yszhou4t...@gmail.com>
---
  uloop-epoll.c  |  2 +-
  uloop-kqueue.c |  2 +-
  uloop.c        | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----
  3 files changed, 63 insertions(+), 6 deletions(-)

Why not change the timeout?

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to