On 17/05/2022 11:04, Koch, Alexander via openwrt-devel wrote:
So I'm wondering: what is the correct way to terminate the uloop?

It's been a while and details are vague, but this works for me:
https://github.com/openwrt/openwrt/blob/master/package/network/config/ltq-vdsl-app/src/src/dsl_cpe_ubus.c#L857-L883

ubus_init()/ubus_deinit() are called from the main thread, and the thread function just contains uloop_run().

Cheers,
Andre

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to