rtems_task_create_from_config() Name?

Joel Sherrill joel at rtems.org
Wed Sep 16 03:41:50 UTC 2020


On Tue, Sep 15, 2020, 10:35 PM Chris Johns <chrisj at rtems.org> wrote:

> On 15/9/20 6:55 pm, Sebastian Huber wrote:
> > On 14/09/2020 06:52, Sebastian Huber wrote:
> >
> >>>
> >>> They are created using the words from your sentence above :)
> >>>
> >>>> My favorite is still rtems_task_build().
> >>>
> >>> Not mine. Do you create, build then start? I think it needs create and
> it lacks
> >>> the storage bit.
> >>
> >> Maybe we should use a synonym of "create" (build is not a synonym of
> create)
> >> such as "make":
> >>
> >> rtems_task_make()
> >>
> >> rtems_message_queue_make()
> >
> > With respect to the directive name, what about the "make" variant? I
> think this
> > avoids a potential create, build then start confusion. We have create
> then
> > start, or make then start.
>
> I think this idea.
>
> > Maybe another synonym of create like produce, fabricate, construct,
> forge, ...?
>
> rtems_task_construct() ?
>

I kind of like this but this may be because the FACE Life Cycle has
construction, initialisation, configuration, finalization, and destruction.
This really is a construction phase operation.

>
> You create a task including its resources and you construct a task from the
> provided resources.
>
> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200915/be1ced52/attachment.html>


More information about the devel mailing list