Usage of POSIX keys instead of task variables

Chris Johns chrisj at rtems.org
Wed Mar 19 01:31:09 UTC 2014


On 18/03/2014 9:36 pm, Christian Mauderer wrote:
> Hello,
>
> I've planed to work on using POSIX keys instead of task variables in
> the shell, the gxx_wrappers and rtems_rpc. This should makes it
> possible to use the mentioned modules with SMP.
>
> There is a small section in the Wiki regarding this topic:
> http://www.rtems.org/wiki/index.php?title=SMP#Task_Variables
>
> The POSIX keys are already outside the POSIX-API. To use them
> efficiently the function pthread_once is also necessary. Sebastian
> already sent a patch to make this function available for all
> configurations.
>
> My first step will be to extract the test for pthread_once out of the
> psx01 test so that it can build independent of the POSIX-API.
>
> After this the next steps will be to replace the task variables in the
> mentioned modules.
>

Thanks for working on this.

Chris



More information about the devel mailing list