[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #48568] timeouts does not support late firing properly
From: |
Sylvain Rochet |
Subject: |
[lwip-devel] [bug #48568] timeouts does not support late firing properly |
Date: |
Wed, 20 Jul 2016 10:07:30 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
URL:
<http://savannah.nongnu.org/bugs/?48568>
Summary: timeouts does not support late firing properly
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: gradator
Submitted on: Wed 20 Jul 2016 10:07:28 AM GMT
Category: None
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.0.0 Beta2
lwIP version: git head
_______________________________________________________
Details:
With the current code, timeouts get delayed when we are in a debugger
breakpoint and sys_now() might continues running while we are stopped (e.g.
when it uses a clock source from an OS which does not stop).
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 the elapsed time in the
debugger stop period, meaning if we stopped for 2 minutes, the timer will get
an extra 2 minutes delay.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?48568>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #48568] timeouts does not support late firing properly,
Sylvain Rochet <=