[RTEMS Project] #3959: Add rtems_task_create_from_config()

RTEMS trac trac at rtems.org
Thu Sep 17 16:09:33 UTC 2020


#3959: Add rtems_task_create_from_config()
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  6.1
Component:  rtems            |     Version:  6
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

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

 In [changeset:"6942e5f99171d1cb38c2c573aba8cb9212d7efd8/rtems"
 6942e5f/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="6942e5f99171d1cb38c2c573aba8cb9212d7efd8"
 rtems: Add rtems_task_construct()

 In contrast to rtems_task_create() this function constructs a task with
 a user-provided task storage area.  The new directive uses a
 configuration structure instead of individual parameters.

 Add RTEMS_TASK_STORAGE_SIZE() to calculate the recommended size of a
 task storage area based on the task attributes and the size dedicated to
 the task stack and thread-local storage.  This macro may allow future
 extensions without breaking the API.

 Add application configuration option
 CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE to adjust RTEMS
 Workspace size estimate.

 Update #3959.
 }}}

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


More information about the bugs mailing list