[PATCH] [RTEMS] Update RTEMS thread model

Chris Johns chrisj at rtems.org
Fri Jul 31 06:28:41 UTC 2015

On 31/07/2015 4:11 pm, Sebastian Huber wrote:
> For synchronization objects use the self-contained objects available via
> Newlib <sys/lock.h>.
> https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=ecaef05f6601f1e8acb78fb65b411a258f39988a
> Enable the C++11 threads using <pthread.h>.  So, the threads are only
> supported in case the POSIX API is enabled in RTEMS.  In the long run
> support for thread join and detach should be added to the API
> independent RTEMS services.

Is this for 4.12 ?

What happens if I build RTEMS with --disable-posix ? If I use locale in
C++ it pulls in the 'once' support which pulls in this file which would
give unresolved externals. There is a PR against me for libstdc++ not
checking the return code. Is it time for the --enable-posix option to go
and to always nave it enabled ?

I feel 'tiny' support should be by not linking rather than configure magic.


More information about the devel mailing list