|
From: | Dirk Ziegelmeier |
Subject: | Re: [lwip-users] lwip 2.0.2 + freertos + ARM7 |
Date: | Thu, 11 May 2017 12:53:44 +0200 |
Thank u for your answer.
But what is the proper way to use tcp_write() and tcp_output()? Where can I use them?
Would it be correct to do:
LOCK_TCPIP_CORE();
tcp_write();
tcp_output();
UNLOCK_TCPIP_CORE();
If I do so, how can I ensure, that I can still receiving data? Don’t I block the RX side?
Sorry, I am a noob but how can I ensure that I am in the tcpip thread?
Von: lwip-users [mailto:lwip-users-bounces+
motz =address@hiddenorg ] Im Auftrag von Dirk Ziegelmeier
Gesendet: Mittwoch, 10. Mai 2017 19:04
An: Mailing list for lwIP users
Betreff: Re: [lwip-users] lwip 2.0.2 + freertos + ARM7
Sounds like you are calling lwIP functions from another thread than the lwIP thread, in your case the CAN thread.
See
http://www.nongnu.org/lwip/2_0_x/pitfalls.html Dirk
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |