From: Yousong Zhou Date: Thu, 9 Jun 2016 02:20:32 +0000 (+0800) Subject: uloop: use a waker for notifying sigchld and loop cancel events X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=commitdiff_plain;h=4e3a47a4cb438866bc4b9cb2f5d16226ffb48502;hp=4e3a47a4cb438866bc4b9cb2f5d16226ffb48502 uloop: use a waker for notifying sigchld and loop cancel events 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 Signed-off-by: Felix Fietkau ---