[RTEMS Project] #3533: Add rtems_task_exit()

RTEMS trac trac at rtems.org
Fri Sep 28 08:04:51 UTC 2018


#3533: Add rtems_task_exit()
------------------------------+-----------------------------
  Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
      Type:  enhancement      |     Status:  assigned
  Priority:  normal           |  Milestone:  5.1
 Component:  rtems            |    Version:  5
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:  3529
------------------------------+-----------------------------
 The rtems_task_delete(RTEMS_SELF) function does not return. In order to
 aid compilers and static analysis tools provide an rtems_task_exit()
 function which can be specified as a no return function.
 {{{
 void rtems_task_exit(void) RTEMS_NO_RETURN;
 }}}
 This is similar to the POSIX equivalent.
 {{{
 void pthread_exit (void *__value_ptr) __dead2;
 }}}

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


More information about the bugs mailing list