Dirk Ziegelmeier wrote: >> A second way to do it, not so preferred by some peoples but worked for me, >> is to add critical Sections [..] > > Depends on what you mean by "critical section". If this is disable/enable > interrupts, that only works if you don't use an OS.
Just to clarify this for other readers: when doing this with an OS, it could be that you block the tcpip_thread in the middle of processing something (depending on your thread priorities), which again gives you 2 execution contexts running the lwIP code at the same time. Simon _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
