[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #8995] timers: fix wrong timings for !NO_SYS targets
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #8995] timers: fix wrong timings for !NO_SYS targets |
Date: |
Wed, 20 Jul 2016 06:26:29 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 |
Update of patch #8995 (project lwip):
Priority: 5 - Normal => 6
Status: Done => In Progress
Assigned to: goldsimon => gradator
Open/Closed: Closed => Open
Planned Release: None => 2.0.0 Beta2
_______________________________________________________
Follow-up Comment #6:
I found a problem with this patch: with the current code, timeouts get delayed
when you're in a debugger breakpoint and your sys_now() continues running
while you're stopped.
This is because sys_now() actually continued, say 50 seconds, but
sys_check_timeouts() increases timeouts_last_time only by the expired
timeout's time. If that handler restarts a timeout (as is the case for all
lwIP-internal timers), it gets an addditional delay of 50 seconds.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?8995>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #8995] timers: fix wrong timings for !NO_SYS targets,
Simon Goldschmidt <=