[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #52747] mdns resp: separate the announce function and
From: |
Douglas |
Subject: |
[lwip-devel] [bug #52747] mdns resp: separate the announce function and add netifapi support for it |
Date: |
Sat, 30 Dec 2017 17:03:18 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 |
Follow-up Comment #6, bug #52747 (project lwip):
> Well, not exactly maybe. That would break layering. mdns should work as
callback app without tcpip thread support, too...
It seems to work well using 'tcpip_callback()', and with a 'pending' flag it
can even avoid some redundant announcements.
Could 'tcpip_callback()' be extended to work in the NO_SYS case too, in a
similar way that the timers are currently checked by calling
'sys_check_timeouts()' in the event loop?
These callback might be useful even for NO_SYS as this might defer a heavy
operation and this might help with latency for some operations and help reduce
the peak resource usage. In any case it might be a small burden for NO_SYS
that helps keep the large code cleaner.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?52747>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/