[RTEMS Project] #4412: Unexpected rtems_task_restart() behaviour if called from within interrrupt context
RTEMS trac
trac at rtems.org
Fri May 14 15:05:31 UTC 2021
#4412: Unexpected rtems_task_restart() behaviour if called from within interrrupt
context
-----------------------------+------------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: defect | Status: closed
Priority: normal | Milestone: 6.1
Component: rtems | Version: 6
Severity: normal | Resolution: fixed
Keywords: | Blocked By:
Blocking: |
-----------------------------+------------------------------
Changes (by Sebastian Huber <sebastian.huber@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"73ebf9a27ed5cd0fd3e0dc0da98345d7faa610a2/rtems"
73ebf9a/rtems]:
{{{
#!CommitTicketReference repository="rtems"
revision="73ebf9a27ed5cd0fd3e0dc0da98345d7faa610a2"
rtems: Fix task restart within interrupt context
rtems_task_restart() may be called from within interrupt context. So
checking only that the thread to restart is equal to the executing
thread is insufficient to determine a self restart. We have to also
check that no ISR is in progress. Merge _Thread_Restart_other() and
_Thread_Restart_self() into one _Thread_Restart() since they share a lot
of common code.
Close #4412.
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4412#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list