[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #19816] Stop the tcpip_thread
From: |
Jonathan Larmour |
Subject: |
[lwip-devel] [bug #19816] Stop the tcpip_thread |
Date: |
Mon, 07 May 2007 19:16:54 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060513 Fedora/1.0.8-1.1.fc3.1.legacy Firefox/1.0.8 |
Follow-up Comment #2, bug #19816 (project lwip):
Here be dragons. To stop the stack properly you need to be able to free all
its resources - all PCBs, packet queues, buffers in use, etc.
Handling TCP sockets in a *_WAIT state is tricky too.
Doing this cleanly would be hard, doing this without increasing the footprint
for the majority who don't need it would be very challenging indeed! I think
at a minimum, and to reduce the number of race conditions to prevent, it's
best to say that you can't stop the stack if *any* sockets/PCBs are still
open.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?19816>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/