[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9138] Make sys_restart_timeouts public also for !NO

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


                 Summary: Make sys_restart_timeouts public also for !NO_SYS
                 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



I have a system which sleeps long times but sys_now() progresses during 
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



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]