patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9138, Make sys_restart_timeouts public...


You are not allowed to post comments on this tracker with your current authentication level.

patch #9138: Make sys_restart_timeouts public also for !NO_SYS targets

Submitted by:  Ari Suutari <arizuu>
Submitted on:  Fri 07 Oct 2016 04:23:38 PM UTC  
Category:  IPv4 Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None

Fri 07 Oct 2016 06:40:49 PM UTC, comment #1: 

Pushed, thanks for the patch.

Simon Goldschmidt <goldsimon>
Project Administrator
Fri 07 Oct 2016 04:23:38 PM UTC, original submission:  

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.

Ari Suutari <arizuu>


Attached Files
file #38682:  restart_timeouts.patch added by arizuu (1KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by arizuu (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-07 goldsimon StatusNone => Done
        Open/ClosedOpen => Closed
    2016-10-07 arizuu Attached File- => Added restart_timeouts.patch, #38682

    Back to the top

    Powered by Savane 3.5