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 <yszhou4tech@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
uloop: revert signalfd support for now It hasn't fixed the reported race condition and it introduced some new issues. Signed-off-by: Felix Fietkau <nbd@nbd.name>
uloop: try to use signalfd for signal handling if available Signed-off-by: Felix Fietkau <nbd@nbd.name>
uloop: move kqueue code into a separate file Signed-off-by: Felix Fietkau <nbd@nbd.name>