[LEDE-DEV] [PATCH] uloop: use a waker for notifying sigchld and loop cancel events

Felix Fietkau nbd at nbd.name
Wed Jun 15 02:58:04 PDT 2016


On 2016-06-09 04: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 <yszhou4tech at gmail.com>
I found a few bugs and inconsistencies in that patch, and pushed a
fixed version here:
https://git.lede-project.org/?p=project/libubox.git;a=commitdiff;h=4e3a47a4cb438866bc4b9cb2f5d16226ffb48502

Please review and test it some more before I push an update to LEDE.

Thanks,

- Felix



More information about the Lede-dev mailing list