Change RTEMS GCC Thread model to POSIX, take 2

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 14 08:03:13 UTC 2013


On 2013-08-14 09:36, Chris Johns wrote:
> Sebastian Huber wrote:
>>
>> What is the error handling in case the C++ support cannot create a
>> resource for example? Previously this was a fatal error.
>>
>
> The C++ code that uses the __gthread support I looked at [1] does not check for
> any errors. Maybe this question is better suited to the gcc or gcc's stdc++ lists.
>
> Chris
>
> [1]
> http://repo.or.cz/w/official-gcc.git/blob/caa62b4636bfed7193ef77027f56d34a62047b19:/libstdc%2B%2B-v3/src/c%2B%2B98/locale.cc#l209
>

Yes, a quick search through the GCC sources shows that a lot of errors are not 
checked.  I don't think that silent errors are desirable for the RTEMS C++ 
support.  Previously you got a fatal error.

-- 
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