Re: RFC: confdefs.h macro for C11 threads

2017-10-09 Thread Joel Sherrill
On Oct 9, 2017 6:30 PM, "Chris Johns" 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

Re: RFC: confdefs.h macro for C11 threads

2017-10-09 Thread Chris Johns
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

Re: RFC: confdefs.h macro for C11 threads

2017-10-08 Thread Sebastian Huber
On 08/10/17 22:31, Joel Sherrill wrote: Hi We have a precedence of presenting an abstracted notion of configuring an object. Users should not have to know how something is implemented in RTEMS. We don't address the configuration of C11 threading objects in this way. Given the implementation, I

Re: RFC: confdefs.h macro for C11 threads

2017-10-08 Thread Sebastian Huber
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.

Re: RFC: confdefs.h macro for C11 threads

2017-10-08 Thread Chris Johns
On 09/10/2017 07:31, Joel Sherrill wrote: > Hi > > We have a precedence of presenting an abstracted notion of > configuring an object. Users should not have to know how something > is implemented in RTEMS. We don't address the configuration of > C11 threading objects in this way. > > Given the i