[PATCH 3/3] C11 threads support

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Oct 8 05:28:29 UTC 2015


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 implementation uses <pthread.h>, so it would be possible to add 
this as a default implementation for Newlib. I am not sure how to 
integrate this in the build system. If desired, this could be done in a 
second step.

On 08/10/15 00:04, 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 are missing.

-- 
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.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list