Re: [PATCH 3/3] C11 threads support

2015-10-07 Thread Joel Sherrill
On 10/7/2015 5:04 PM, Jeff Johnston wrote: I am ok with this although I would like to hear that at least RTEMS or another configuration supports or plans to support threads.h and functions. C11 says that the flag __STDC_NO_THREADS__ can be used to indicate that threads.h and the functions

Re: [PATCH 3/3] C11 threads support

2015-10-07 Thread Sebastian Huber
Hello Jeff, I sent the RTEMS implementation of this API to the RTEMS list only: https://lists.rtems.org/pipermail/devel/2015-September/012597.html https://lists.rtems.org/pipermail/devel/2015-September/012598.html It is a slight modification of the FreeBSD libstdthreads. The original FreeBSD

[PATCH 3/3] C11 threads support

2015-09-21 Thread Sebastian Huber
Import from latest FreeBSD. Move types and defines to so that it can be customized per target. newlib/ChangeLog 2015-09-21 Sebastian Huber * libc/include/threads.h: New. * libc/sys/rtems/include/machine/_threads.h: Likewise. ---