lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] blocked udp


From: Simon Goldschmidt
Subject: Re: [lwip-users] blocked udp
Date: Wed, 28 Sep 2016 14:25:14 +0200

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]