R²G (speak: R square G) is the acronym for “RTEMS and RTLib Glued together”. R²G is an extension to the open source RTEMS real-time operating system. The goal of R²G is to eliminate the limitations of RTEMS in order to execute auto-parallelized code generated by the MNEMEE tool flow.

R²G System overview

On the Application Level we can find the application which uses a special version of RTLib. This RTLib version does not use the pthread interface anymore. Instead R²G is used for synchronization and thread management.

Inside the OS/System Level the RTEMS OS, C Library (in our case “newlib”), and R²G can be found. R²G can only be used with special RTEMS BSPs which support R²G extensions.