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

Submitter:  Ari Suutari <arizuu>
Submitted:  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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-f8d8.
    Corresponding source code