C++11 threading library
sebastian.huber at embedded-brains.de
Fri Jul 31 06:18:03 UTC 2015
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
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)?
> Beojan Stanislaus
> users mailing list
> users at rtems.org
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