Final fix for bug #20021 and some other problems when closing tcp netconns: removed conn->sem, less context switches when closing, both netconn_close and netconn_delete should safely close tcp connections.

This commit is contained in:
goldsimon
2007-07-03 19:29:59 +00:00
parent 3a0ab861c2
commit 9a4a5b1816
4 changed files with 89 additions and 65 deletions

View File

@@ -112,7 +112,6 @@ struct netconn {
sys_mbox_t mbox;
sys_mbox_t recvmbox;
sys_mbox_t acceptmbox;
sys_sem_t sem;
int socket;
#if LWIP_SO_RCVTIMEO
int recv_timeout;