<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Oct 9, 2017 6:30 PM, "Chris Johns" <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On 9/10/17 4:01 pm, Sebastian Huber wrote:<br>
> On 09/10/17 02:32, Chris Johns wrote:<br>
><br>
>> [...]<br>
>> How does a user use C11 threads on RTEMS for real applications? When I last<br>
>> looked I could not see a way to configure any runtime parameters like stack or<br>
>> priority.<br>
><br>
> You can do this in an implementation-specifc way via the native_handle():<br>
><br>
> <a href="http://en.cppreference.com/w/cpp/thread/thread/native_handle" rel="noreferrer" target="_blank">http://en.cppreference.com/w/<wbr>cpp/thread/thread/native_<wbr>handle</a><br>
><br>
</div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">This is C++ threads. I didn't see anything like that for C11 threads. </div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text"><br>
</div><sigh> How does this help a user with portable C++ code move an application to<br>
RTEMS? I see this requiring users track the C++ instances with some form of<br>
run-time profile and none of that will be portable. They seem to be focused on<br>
parallel work loads than real-time threads with specific run-time profiles.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">I would recommend unlimited objects as a first measure.</div><div dir="auto"><br></div><div dir="auto">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</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font color="#888888"><br>
Chris<br>
</font><div class="elided-text"><br>
<br>
<br>
______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
</div></blockquote></div><br></div></div></div>