C++11 threading library

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jul 31 06:18:03 UTC 2015

Hello Beojan,

this is work in progress. With the latest RTEMS and Newlib and at least 
GCC 4.9 you should be able to use C++11 threads if you build the GCC 
with the --enable-threads=posix configure option. See also


This would offer much better performance on SMP systems and an easier 
application configuration.

On 30/07/15 11:08, Beojan Stanislaus wrote:
> I am trying to compile some C++11 code that uses the threading features in the standard library (std::thread etc) using arm-rtems4.11-g++ version 4.8.2 (from the RHEL 6 repository). I get the error 'thread' is not a member of 'std'. Delving into the include files shows that this is because _GLIBCXX_HAS_GTHREADS is not defined (from  /opt/rtems-4.11/lib/gcc/arm-rtems4.11/4.8.2/include/c++/thread).
> Can anyone tell me if this has been resolved in a newer version of gcc (or will be resolved soon)?
> Sincerely,
> Beojan Stanislaus
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users

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 users mailing list