|
From: | Dirk Ziegelmeier |
Subject: | Re: [lwip-users] blocked udp |
Date: | Wed, 28 Sep 2016 13:44:16 +0200 |
A second way to do it, not so preferred by some peoples but worked for me, is to add critical
Sections in code that call’s LwIP functions. Adding a critical section means that you block other
Tasks for a short time. Especially the TCP task from running. It means that if you allocate a buffer from
the LwIP pool until you do not Call exit from the critical section the TCP task will not run and therefore
will not interfere.
[Prev in Thread] | Current Thread | [Next in Thread] |