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

Submitted by:  Freddie Chopin <freddie_chopin>
Submitted on:  Thu 06 Oct 2016 09:49:02 AM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Item Group: Feature RequestStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by freddie_chopin (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 06 Oct 2016 11:25:35 AM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1