Re: [OpenWrt-Devel] [PATCH][RFC] libubus: restore uloop_cancelled on timeout

2014-09-15 Thread Alexandru Ardelean
Cool. Thanks. On Mon, Sep 15, 2014 at 4:49 PM, Felix Fietkau wrote: > On 2014-09-15 14:42, Alexandru Ardelean wrote: > > Context: 1 loop with a single ubus_invoke() that times out calls > > uloop_end() which ends the loop, and thus ends the application. > > > > In the end that seems to confuse p

Re: [OpenWrt-Devel] [PATCH][RFC] libubus: restore uloop_cancelled on timeout

2014-09-15 Thread Felix Fietkau
On 2014-09-15 14:42, Alexandru Ardelean wrote: > Context: 1 loop with a single ubus_invoke() that times out calls > uloop_end() which ends the loop, and thus ends the application. > > In the end that seems to confuse procd which outputs a > notification as if the application segfault-ed a couple o

[OpenWrt-Devel] [PATCH][RFC] libubus: restore uloop_cancelled on timeout

2014-09-15 Thread Alexandru Ardelean
Context: 1 loop with a single ubus_invoke() that times out calls uloop_end() which ends the loop, and thus ends the application. In the end that seems to confuse procd which outputs a notification as if the application segfault-ed a couple of times, rather than ended 'gracefully' by being cancelle