tasklwIP - A Lightweight TCP/IP stack - Tasks: task #10102, Netconn: clean up conn->err...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #10102: Netconn: clean up conn->err threading issues

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Sun 17 Jan 2010 05:59:45 PM UTC
   
 
Category:  None Should Start On:  Sun 17 Jan 2010 12:00:00 AM UTC
Should be Finished on:  Sun 17 Jan 2010 12:00:00 AM UTC Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Percent Complete:  100%
Open/Closed:  Closed Planned Release:  1.4.0
Effort:  0.00

Sun 17 Jan 2010 06:32:17 PM UTC, comment #1: 

Done by adding error return value to struct api_msg_msg. The commit is a bit lengthy...

This also made it necessary to save the struct api_msg_msg pointer while connect/close is in progress (like currently done on write).

Simon Goldschmidt <goldsimon>
Group administrator
Sun 17 Jan 2010 05:59:45 PM UTC, original submission:  

conn->err is currently wildly read and set from both application tasks and the tcpip_thread. It is also used as return value for netconn-functions running in tcpip_thread (which could result in wrong return values for netconn_* functions).

Simon Goldschmidt <goldsimon>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-24 goldsimon Open/ClosedOpen Closed
    2010-01-17 goldsimon StatusIn Progress Done
        Percent Complete0% 100%

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code