[RTEMS Project] #4412: Unexpected rtems_task_restart() behaviour if called from within interrrupt context

RTEMS trac trac at rtems.org
Wed May 26 12:41:28 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:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"de694b753ca11136adce7600d55642695c8ef39d/rtems"
 de694b75/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="de694b753ca11136adce7600d55642695c8ef39d"
 score: Direct thread dispatch in a self restart

 Commit 73ebf9a27ed5cd0fd3e0dc0da98345d7faa610a2 accidentally removed the
 direct thread dispatch in a self thread restart.  In case of a self
 restart (always in task context) the directive shall not return.  If
 this is not possible due to a bad thread dispatch disable level, then a
 fatal error shall occur.

 Update #4412.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4412#comment:4>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list