On Oct 9, 2017 6:30 PM, "Chris Johns" <chr...@rtems.org> wrote:
On 9/10/17 4:01 pm, Sebastian Huber wrote:
> On 09/10/17 02:32, Chris Johns wrote:
>
>> [...]
>> How does a user use C11 threads on RTEMS for real applications? When I
last
>> looked I could not see a way to configure any runtime parameters like
stack or
>> priority.
>
> You can do this in an implementation-specifc way via the native_handle():
>
> http://en.cppreference.com/w/cpp/thread/thread/native_handle
>


This is C++ threads. I didn't see anything like that for C11 threads.


<sigh> How does this help a user with portable C++ code move an application
to
RTEMS? I see this requiring users track the C++ instances with some form of
run-time profile and none of that will be portable. They seem to be focused
on
parallel work loads than real-time threads with specific run-time profiles.


I would recommend unlimited objects as a first measure.

But we have asked users who care to count object instances for years. Just
making it clear they are C11 threads. They shouldn't care how they are
implemented


Chris



_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to