buglwIP - A Lightweight TCP/IP stack - Bugs: bug #49279, Minor issues with mutexes

 
 

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

bug #49279: Minor issues with mutexes

Submitter:  Freddie Chopin <freddie_chopin>
Submitted:  Thu 06 Oct 2016 09:49:02 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Item Group:  Feature Request Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Thu 06 Oct 2016 11:25:35 AM UTC, comment #1: 

1. Fixed, thanks for reporting.
2. I've added: "Note that mutexes are expected to not be taken recursively by the lwIP code, so both implementation types (recursive or non-recursive) should work."

Simon Goldschmidt <goldsimon>
Group administrator
Thu 06 Oct 2016 09:49:02 AM UTC, original submission:  

There are some very minor issues with mutexes in lwIP:

1. The comment for "err_t sys_mutex_new(sys_mutex_t *mutex);" in sys.h says "@return a new mutex", which is not exactly true, because the function returns "err_t".

2. There's no information anywhere whether the mutexes should be recursive or not. In that case you can assume they should be non-recursive, but it would be much better to state that clearly.

Freddie Chopin <freddie_chopin>

 

(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 (Posted a comment)
  • -email is unavailable- added by freddie_chopin (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
    2016-10-06 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code