[Top][All Lists]

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

[lwip-devel] [bug #20021] conn->sem is only signaled one-way

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #20021] conn->sem is only signaled one-way
Date: Fri, 01 Jun 2007 16:02:20 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20070515 Firefox/

Follow-up Comment #12, bug #20021 (project lwip):

>No, the code on the api_msg side would change - the tcpip thread would not

So if you move the send buffer test into api_msg (which is processed in
tcpip_thread), and there is no free buffer (or no mem), would you set a state
'someones_waiting' and signal the conn->sem? That would take away the race
condition of what I've suggested (only signal conn->sem if someone is waiting
for it).


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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