lwIP - A Lightweight TCP/IP stack - Bugs: bug #43278, event_callback() handle context...
You are not allowed to post comments on this tracker with your current authentication level.
bug #43278: event_callback() handle context switch when calling sys_sem_signal()
Submitter: | Joel Cunningham <jcunningham> | ||
Submitted: | Mon 22 Sep 2014 02:18:05 PM UTC | ||
Category: | sockets/netconn | Severity: | 3 - Normal |
Item Group: | Crash Error | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | 1.4.1 |
Tue 28 Oct 2014 09:29:31 PM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
Mon 22 Sep 2014 02:18:05 PM UTC, original submission:
In event_callback(), the for loop at the bottom that handles signaling waiting application threads that a select is ready, operates under the assumption that the call to sys_sem_signal() won't cause a context switch. The entire loop is protected by a pair of SYS_ARCH_PROTECT() and SYS_ARCH_UNPROTECT().
|
Joel Cunningham <jcunningham> |
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 |
---|---|---|---|---|---|
2014-10-28 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
2014-09-22 | jcunningham | Attached File | - | Added event-handle.diff, #32167 |
Powered by Savane 3.13-f8d8.
Corresponding source code
Fixed, thanks for reporting.