[PATCH 3/3] C11 threads support

Sebastian Huber sebastian.huber@embedded-brains.de
Wed Oct 14 05:39:00 GMT 2015

Hello Jeff,

I sent the RTEMS implementation of this API to the RTEMS list only:


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

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

More information about the Newlib mailing list