May be both.
Specially I want to know how to use may use of rt_pipe_steam with a use
case example.

On Mon, 20 Aug 2018, 10:10 pm Greg Gallagher, <g...@embeddedgreg.com> wrote:

> On Mon, Aug 20, 2018 at 9:48 AM, Pintu Kumar <pintu.p...@gmail.com> wrote:
> > Dear Greg,
> >
> > If you have any idea can you please explain how rt_pipe_stream works
> > with an example.
> > I need to prepare a demo, to demonstrate the usefulness of
> rt_pipe_stream API.
> >
> >
> > Thanks,
> > Pintu
> > On Fri, Aug 17, 2018 at 6:56 PM Pintu Kumar <pintu.p...@gmail.com>
> wrote:
> >>
> >> Hi,
> >>
> >> I wanted to understand how rt_pipe_stream works and how it can be
> useful.
> >> I wanted to create a demo application using it.
> >> But currently I could not figure out how to make use of it.
> >>
> >> I saw a sample pipe application under: lib/alchemy/testsuite/pipe-1.c.
> >> Based on this I am trying to create a new application that uses
> rt_pipe_stream.
> >> The rt_pipe_stream is working fine, but I wanted to test the scenario
> >> based on its description.
> >>
> >> My understanding is that:
> >> Regular thread keeps write one by one char to rtipc, and the real-time
> >> task reads one char at a time. Then real-time task call rt_pipe_stream
> >> which keeps storing the char.
> >> Finally, when regular thread calls "read" then all the data from
> >> stream will be read by the regular thread at once.
> >>
> >> Hope my understanding is correct.
> >> I want to prepare a sample application for the same.
> >>
> >> If any reference for rt_pipe_stream is available please let me know.
> >>
> >>
> >> Thanks,
> >> Pintu
> >
> > _______________________________________________
> > Xenomai mailing list
> > Xenomai@xenomai.org
> > https://xenomai.org/mailman/listinfo/xenomai
>
> HI,
>   Do you want an explaination how they worked in cobalt or an
> exaplaination of how to use them?
>
> Thanks
>
> Greg
>
_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai

Reply via email to