[RTEMS Project] #4901: rtems_task_construct Documentation Missing Some Details

RTEMS trac trac at rtems.org
Thu Apr 27 11:43:15 UTC 2023


#4901: rtems_task_construct Documentation Missing Some Details
---------------------------+------------------------------
 Reporter:  Joel Sherrill  |       Owner:  Sebastian Huber
     Type:  defect         |      Status:  assigned
 Priority:  normal         |   Milestone:  6.1
Component:  doc            |     Version:  6
 Severity:  normal         |  Resolution:
 Keywords:                 |  Blocked By:
 Blocking:                 |
---------------------------+------------------------------

Comment (by Joel Sherrill):

 It isn't just the data structure. That could be largely accounted for with
 a quick mention that rtems_task_config maps to the arguments to
 rtems_task_create. The problem is specifically stack_size in create
 becomes storage_size in construct and you have to use a macro on your
 desired stack_size to fill in the structure. The dtor field is also
 missing info. You could get by with a bullet list on the structure
 parameters showing how they map or are used.

 There is also nothing in rtems-examples which uses this.

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


More information about the bugs mailing list