mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-01 04:12:07 +00:00
sys_arch_timeouts() is not needed any more.
This commit is contained in:
parent
33d6dcec5b
commit
036cb26fa3
@ -237,6 +237,9 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2011-04-20: Simon Goldschmidt
|
||||||
|
* sys_arch.txt: sys_arch_timeouts() is not needed any more.
|
||||||
|
|
||||||
2011-04-13: Simon Goldschmidt
|
2011-04-13: Simon Goldschmidt
|
||||||
* tcp.c, udp.c: Fixed bug #33048 (Bad range for IP source port numbers) by
|
* tcp.c, udp.c: Fixed bug #33048 (Bad range for IP source port numbers) by
|
||||||
using ports in the IANA private/dynamic range (49152 through 65535).
|
using ports in the IANA private/dynamic range (49152 through 65535).
|
||||||
|
@ -123,18 +123,6 @@ The following functions must be implemented by the sys_arch:
|
|||||||
sys_arch_mbox_fetch(mbox,msg,1)
|
sys_arch_mbox_fetch(mbox,msg,1)
|
||||||
although this would introduce unnecessary delays.
|
although this would introduce unnecessary delays.
|
||||||
|
|
||||||
- struct sys_timeouts *sys_arch_timeouts(void)
|
|
||||||
|
|
||||||
Returns a pointer to the per-thread sys_timeouts structure. In lwIP,
|
|
||||||
each thread has a list of timeouts which is repressented as a linked
|
|
||||||
list of sys_timeout structures. The sys_timeouts structure holds a
|
|
||||||
pointer to a linked list of timeouts. This function is called by
|
|
||||||
the lwIP timeout scheduler and must not return a NULL value.
|
|
||||||
|
|
||||||
In a single thread sys_arch implementation, this function will
|
|
||||||
simply return a pointer to a global sys_timeouts variable stored in
|
|
||||||
the sys_arch module.
|
|
||||||
|
|
||||||
If threads are supported by the underlying operating system and if
|
If threads are supported by the underlying operating system and if
|
||||||
such functionality is needed in lwIP, the following function will have
|
such functionality is needed in lwIP, the following function will have
|
||||||
to be implemented as well:
|
to be implemented as well:
|
||||||
|
Loading…
Reference in New Issue
Block a user