lwip-devel
[Top][All Lists]
Advanced

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

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


From: Kieran Mansley
Subject: [lwip-devel] [bug #20021] conn->sem is only signaled one-way
Date: Fri, 01 Jun 2007 12:44:45 +0000
User-agent: Opera/9.21 (X11; Linux i686; U; en)

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

> Alternatively, you can move the current send buffer test into 
> the tcp/ip thread (so the caller thread effectively always
> waits, and its up to the tcpip thread to whether it resumes). 
> We had already talked about this in fact, because the call to 
> tcp_sndbuf is a race condition already.

Might this cause a new set of problems where the tcpip_thread gets blocked
waiting for memory to do operation A, while operation B that could otherwise
go ahead isn't able to get into the tcpip_thread?  The benefits might
outweigh this downside though.  Probably do in fact if there's an existing
race that would also be solved.



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20021>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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