Hello, To cut to the core, RTAI is basically an interrupt dispatcher that traps interrupts and re-routes them up either through the RTAI (realtime) modules, or for non realtime tasks back to the Linux kernel. RTAI also provides an API for realtime functions, and floating point operations. The general intent is to run realtime processes in the kernel. PREEMPT-RT is a configuration option for the kernel to add preemption to many more places in the kernel, in particular, it makes the spinlocks preemptable, and it adds a priority tree (priority inheritance). It also includes changes to the high resolution timer code. It does not introduce any API, however all timers in user code are replaced with high resolution timers. There are some issues with PREEMPT-RT and the VGA text console that have not yet been corrected. (Anything that writes to the VGA text console such as printk() introduce large unpredictable latencies.) This patch is intended to run realtime processes in user space, but it also allows realtime kernel modules to be used. -Neil-
On Sun, Jan 3, 2016 at 10:06 AM, Karlsson & Wang < [email protected]> wrote: > Do anybode know the difference between RTAI and PREEMPT-rt? > > Regards Nicklas Karlsson > > > ------------------------------------------------------------------------------ > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers > ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
