[RTEMS Project] #4847: Goto statements
RTEMS trac
trac at rtems.org
Thu Feb 9 18:59:30 UTC 2023
#4847: Goto statements
---------------------------+---------------------
Reporter: Daniel Páscoa | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: score | Version: 6
Severity: normal | Resolution:
Keywords: qualification | Blocked By:
Blocking: |
---------------------------+---------------------
Comment (by Joel Sherrill):
Looking at the older versions, there was not a loop around the dispatching
activities. This was added because with SMP, the other cores could request
a dispatch on a core while one was in process.
I'm fine with changing it to a break. I just think anytime you look at
code, you should consider if more comments are necessary. I think the
post_switch label is acting as a minimal comment and the scenarios for
looping more than once or exercising the break could be documented in the
comments.
--
Ticket URL: <http://devel.rtems.org/ticket/4847#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list