[PATCH v2] rtems: Add rtems_task_create_from_config()

Chris Johns chrisj at rtems.org
Wed Sep 9 08:07:11 UTC 2020

On 9/9/20 4:49 pm, Sebastian Huber wrote:
> On 09/09/2020 07:56, Chris Johns wrote:
>> What about a test for this API that has a 100K char TLS array and all the other
>> task values as defaults? If the space allocated and reported in the link map is
>> not just over 100K there is a problem.
> As I said before, this API is for users which want to do the memory allocation
> on their own. These users must know when they have an 100K char TLS array in
> their application. They just have to use in this case:
> #define MY_TLS (100K + whatever)

Ouch. This is not very nice. I see your design problem with this API.

I will try and discuss this topic with Joel tomorrow if we can get together.


More information about the devel mailing list