|
From: | Ari Suutari |
Subject: | Re: [lwip-users] Could sys_restart_timeouts be provided also for !NO_SYS targets ? |
Date: | Mon, 26 Sep 2016 21:34:42 +0300 |
Hi, In my case sys_timeouts_mbox_fetch is not running when system sleeps. I have a function tcpipSuspend() which waits for RTOS semaphore for tcp/ip stack to wake up. This function is called with tcpip_callback_with_block, which makes the lwip stack to “sleep” inside tcpip thread. My project is open source, see and Code has currently a kludgery workaround, it forcefully resets RTOS ‘jiffies’ after sleep, which is used by sys_now(), system works very well with this. I’ll enable sys_restart_timeouts and see if it works also, I think it should because the effect should be same as my workaround. Ari S.
|
[Prev in Thread] | Current Thread | [Next in Thread] |