Re: [PATCH] c-user: Add obsolete configuration options section

2017-10-09 Thread Sebastian Huber
Should we add #warning messages to the now obsolete CONFIGURE_MAXIMUM_POSIX_MUTEXES, etc. configuration options to confdefs.h? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebas

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

[PATCH 1/3] posix: Simplify POSIX_API_Control

2017-10-09 Thread Sebastian Huber
Return stack area via pthread_getattr_np(). Simplify * pthread_attr_setaffinity_np(), and * pthread_attr_getaffinity_np() and let the scheduler do the more sophisticated error checks. Make * pthread_setaffinity_np(), * pthread_getaffinity_np(), * pthread_attr_setaffinity_np(), and * pthread_at

[PATCH 2/3] posix: Remove rtems_pthread_attribute_compare()

2017-10-09 Thread Sebastian Huber
Update #2514. Close #3174. --- cpukit/posix/Makefile.am | 3 - cpukit/posix/include/rtems/posix/pthreadimpl.h | 8 --- cpukit/posix/src/pthreadattrcompare.c | 93 -- testsuites/psxtests/psxgetattrnp01/init.c | 68 ++- 4

[PATCH 3/3] posix: Unconditional thread attribute support

2017-10-09 Thread Sebastian Huber
Update #2514. --- cpukit/posix/Makefile.am | 29 + cpukit/posix/include/rtems/posix/pthreadattrimpl.h | 71 ++ cpukit/posix/include/rtems/posix/pthreadimpl.h | 29 - cpukit/posix/preinstall.am | 4 ++ cpukit

Re: Failures on erc32 and psim

2017-10-09 Thread Sebastian Huber
I pushed the fixes today. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine ges

Re: Failures on erc32 and psim

2017-10-09 Thread Joel Sherrill
On Oct 9, 2017 1:16 AM, "Sebastian Huber" < sebastian.hu...@embedded-brains.de> wrote: One issue was related due to the new 64-bit time_t, e.g. (time_t) (uint32_t) -1 is greater than zero now. Ate you completely pushed? My tree was up to date last night. On 09/10/17 02:25, Joel Sherrill wrote