|
From: | Ari Suutari |
Subject: | [lwip-devel] [patch #9138] Make sys_restart_timeouts public also for !NO_SYS targets |
Date: | Fri, 7 Oct 2016 16:23:41 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0 |
URL: <http://savannah.nongnu.org/patch/?9138> Summary: Make sys_restart_timeouts public also for !NO_SYS targets Project: lwIP - A Lightweight TCP/IP stack Submitted by: arizuu Submitted on: Fri 07 Oct 2016 04:23:38 PM GMT Category: IPv4 Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: I have a system which sleeps long times but sys_now() progresses during sleep. Currently this still seems to cause some surprises with timers. Calling sys_restart_timeouts after waking up corrects the problem. In my case the system is not sleeping in sys_timeouts_mbox_fetch - the lwip stack is put into sleep by calling function via tcpip_callback_with_block which waits for RTOS semaphore. The only problem is that sys_restart_timeouts is not visible when compiling with !NO_SYS. This patch changes that. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Fri 07 Oct 2016 04:23:38 PM GMT Name: restart_timeouts.patch Size: 1kB By: arizuu <http://savannah.nongnu.org/patch/download.php?file_id=38682> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?9138> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |