[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:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 |
Follow-up Comment #12, bug #20021 (project lwip):
>No, the code on the api_msg side would change - the tcpip thread would not
block.
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:
<http://savannah.nongnu.org/bugs/?20021>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, (continued)
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Frédéric Bernon, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Frédéric Bernon, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Jonathan Larmour, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Jonathan Larmour, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Kieran Mansley, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Jonathan Larmour, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way,
Simon Goldschmidt <=
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Jonathan Larmour, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/06/19
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/06/21
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/06/21
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Frédéric Bernon, 2007/06/21
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/06/22
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/06/28