[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: |
Jonathan Larmour |
Subject: |
[lwip-devel] [bug #20021] conn->sem is only signaled one-way |
Date: |
Fri, 01 Jun 2007 16:40:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070530 Fedora/1.5.0.12-1.fc5 Firefox/1.5.0.12 |
Follow-up Comment #13, bug #20021 (project lwip):
The existing behaviour of netconn_write is to block and wait if out of mem or
send window, so to preserve that, the calling thread would block in
tcpip_apimsg waiting for the sys_arch_mbox_fetch (or whatever replaces it,
from Frederic's work) to return. The tcpip thread would only wake it up when
it really does complete. So I think you can guarantee someone is waiting
because that's where they will be blocked.
That seems the best approach that would avoid race conditions, to me, but
there are probably others.
NB I'm going on vacation this weekend, so won't be able to contribute more to
this discussion after tonight.... I just say that in case you direct something
to me and I don't answer :).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20021>
_______________________________________________
Message sent via/by 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, 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, 2007/06/01
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way,
Jonathan Larmour <=
- [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