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

RTEMS trac trac at rtems.org
Fri May 14 12:49:57 UTC 2021


#4412: Unexpected rtems_task_restart() behaviour if called from within interrrupt
context
------------------------------+-----------------------------
  Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
      Type:  defect           |     Status:  assigned
  Priority:  normal           |  Milestone:  6.1
 Component:  rtems            |    Version:  6
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+-----------------------------
 In rtems_task_restart() there is a check if the executing thread is
 restarted. However, in interrupt context, this simple check results in an
 internal error INTERNAL_ERROR_BAD_THREAD_DISPATCH_DISABLE_LEVEL if the
 executing thread is restarted. Check also if an ISR is in progress to make
 sure the thread restart works within interrupt context.

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


More information about the bugs mailing list