[LEDE-DEV] [PATCH] uloop: use a waker for notifying sigchld and loop cancel events
Yousong Zhou
yszhou4tech at gmail.com
Wed Jun 15 04:20:29 PDT 2016
On 15 June 2016 at 17:58, Felix Fietkau <nbd at nbd.name> wrote:
> 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
Ack from me.
The patch looks better. Thanks
yousong
More information about the Lede-dev
mailing list