rtems_task_create_from_config() Name?

Chris Johns chrisj at rtems.org
Wed Sep 16 03:35:19 UTC 2020


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() ?

You create a task including its resources and you construct a task from the
provided resources.

Chris


More information about the devel mailing list