Is anything lost by going to POSIX threads in GCC?

On Fri, Aug 9, 2013 at 3:06 AM, Chris Johns <[email protected]> wrote:
> Hi,
>
> The patch attached changes the RTEMS thread model in GCC from 'rtems' to
> 'posix'. The patch also fixes the include paths for newlib so the correct
> 'machine/_types.h' is picked up.
>
> RTEMS using the POSIX thread model in gcc means C++ works with SMP. The
> 'rtems' thread model uses an RTEMS specific interface to code in RTEMS that
> uses task variables. Task variables make no sense and will never work in SMP
> systems [1].
>
> This patch leaves the RTEMS thread model in the gcc sources. A patch for gcc
> patches list would need to remove these sources.
>
> Chris
>
> [1] We should consider no building the task variable code when building an
> SMP kernel.
>
> _______________________________________________
> rtems-devel mailing list
> [email protected]
> http://www.rtems.org/mailman/listinfo/rtems-devel
>
_______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to