[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] poll-function not called
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] poll-function not called |
Date: |
Mon, 22 Sep 2014 14:50:09 +0200 |
Sergio R. Caprile wrote:
> You could try the way we vendor-agnostic use the stack:
> Once you set NO_SYS_NO_TIMERS = 0, add a call to sys_check_timeouts() in
> your main loop. This is the 1.4 way of checking all the timers,
> including DHCP. This should take care of TCP and so calling your poll
> function callback for your application.
Wasn't that Karl where everything runs in interrupt context? If so, calling
sys_check_timeouts() from the main loop while everything else in lwIP runs in
interrupt context will surely lead to problems.
Simon