lwIP - A Lightweight TCP/IP stack - Bugs: bug #51519, Clarify that sys_arch_protect()...
You are not allowed to post comments on this tracker with your current authentication level.
bug #51519: Clarify that sys_arch_protect() always has a matching unprotect.
Submitter: | Douglas <ourairquality> | ||
Submitted: | Thu 20 Jul 2017 12:34:05 PM UTC | ||
Category: | Documentation | Severity: | 3 - Normal |
Item Group: | Change Request | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | git head |
Thu 20 Jul 2017 07:24:23 PM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
Thu 20 Jul 2017 12:34:05 PM UTC, original submission:
The current documentation specifies sys_arch_unprotect() as resetting "the critical region protection to the value specified by pval". Such usage would not be compatible with implementations using a nesting counter, nor with many recursive mutex implementations, both of which require matching protect and unprotect operations.
|
Douglas <ourairquality> |
Depends on the following items: None found
Items that depend on this one: None found
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 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-07-20 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
2017-07-20 | ourairquality | Attached File | - | Added 0001-Clarify-that-sys_arch_protect-always-has-a-matching-.patch, #41264 |
Powered by Savane 3.13-bb6a.
Corresponding source code
Pushed, thanks for the patch. I really appreciate having someone with a somewhat outside view helping on the docs :-)