On Thu, 18 Jul 2019 23:07:08 +0100
andy pugh <bodge...@gmail.com> wrote:

> On Thu, 18 Jul 2019 at 22:01, Nicklas Karlsson <nicklas.karlsso...@gmail.com>
> wrote:
> 
> > It seems by no suprise writing real time to data to file within real time
> > task have a negative impact on likelihood of real time delay.
> >
> 
> With RTAI and kernel modules I don't think that is is even possible.
> 
> I tried non blocking fcntl(...) function and O_NONBLOCK flag without
> > success. Adding some kind of buffer in for example shared memory between
> > written by real time task and let another lower priority task write is a
> > solution
> 
> 
> Take a look at how streamer and hal_streamer do exactly this.

I also found there already exist a real time implementation in "rt_fifo.h" but 
unfortunately I do not find among the include files on my hard drive so 
probably it's not part of the versin I have or I might be looking at the wrong 
place.

Nicklas Karlsson


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to