RFC: confdefs.h macro for C11 threads

Chris Johns chrisj at rtems.org
Mon Oct 9 23:29:52 UTC 2017


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
> 

<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.

Chris






More information about the devel mailing list