[Xenomai] Communication between RT-kernel to non-RT kernel
gilles.chanteperdrix at xenomai.org
Thu Apr 28 12:52:36 CEST 2016
On Thu, Apr 28, 2016 at 08:37:17AM +0300, Ran Shalit wrote:
> On Thu, Apr 28, 2016 at 7:44 AM, Ran Shalit <ranshalit at gmail.com> wrote:
> > Hello,
> > I am new with xenomai.
> > I've made a lot of reading in the documentation which is very helpful.
> > But I haven't found how to communicate between rt kernel to non-rt
> > kernel on same machine,
> > Is there any example or documantation which explains this ?
> > Best Regards,
> > Ran
> I guess that there is actually no need for such example or documentation.
> In userland 2 applications, one using xenomai kernel and the other
> linux kernel can commuicate
> in any method available in Linux between processes (pipes, shared
> memeory, etc) . Right?
Not quite. Accessing a pipe from a xenomai thread will cause it to
switch to secondary mode, IOW to migrate to the Linux kernel.
The IPC adapted to communicated between Xenomai threads and plain
Linux threads is XDDP, see the API documentation here:
More information about the Xenomai