[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: |
Tue, 03 Jul 2007 21:46:58 +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 #19, bug #20021 (project lwip):
I've put together a patch that removes conn->sem and implements a better
closing mechanism calling an internal 'do_close_internal' function in
api_msg.c from do_close/do_delconn and releasing the blocked application only
when the connection is really closed. This removes unnecessary context
switches, the do_close_internal is called again from sent_tcp/poll_tcp until
the connection is really closed (application thread is then waked). err_tcp
for such a conn also wakes the application thread.
I'll apply it like that if noone objects ;-)
(file #13218)
_______________________________________________________
Additional Item Attachment:
_______________________________________________________
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,
Simon Goldschmidt <=
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/07/03
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Frédéric Bernon, 2007/07/04
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Frédéric Bernon, 2007/07/04
- RE: [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Goldschmidt Simon, 2007/07/04
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Kieran Mansley, 2007/07/13
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/07/13
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Frédéric Bernon, 2007/07/13
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Simon Goldschmidt, 2007/07/16
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Frédéric Bernon, 2007/07/24
- [lwip-devel] [bug #20021] conn->sem is only signaled one-way, Frédéric Bernon, 2007/07/24