[PATCH] [RTEMS] Update RTEMS thread model
chrisj at rtems.org
Fri Jul 31 07:10:53 UTC 2015
On 31/07/2015 4:44 pm, Sebastian Huber wrote:
>> Is this for 4.12 ?
> This is just a proof-of-concept patch, but it would be nice to include
> this in the next release along with the C11 threads support.
If you have tests and they are ok then why not put it in.
>> 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.
> The pthread_once() is always available just like the POSIX keys. If you
> use std::thread, however, with --disable-posix, then you get unresolved
> The criterion for me to get rid of the --disable-posix option is a
> constructor based initialization (linker sets).
Lets remove it unless someone has a good reason not to.
More information about the devel