[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] RTL example "Frank" (Zappa)
I have found the same. When using a RT-FIFO I discovered that is
impossible (rtl 3.0 in 2.4.1 Linux Kernel) to implement a handler to a
FIFO and inside the handler's code ask for access to the same FIFO.
Maybe Mr. Victor Yodaiken had implemented two FIFO in order to
"emulates" only one.
The code implements a handler to a FIFO and inside the code he acess
another one, intead of doing all this actions at once.
Alex
Minich, Raymond C wrote:
> Can somebody point me in the right direction regarding why the example
> "frank" creates/opens/initializes five (5) fifos
> but the documentation only refers to 3 of them being used by the
> application?
>
> init_module does a.........
>
> rtf_destroy(1);
> thru
> rtf_destroy(5);
>
> then a......
>
> c[0] = rtf_create(1,4000);
> c[1] = rtf_create(2,4000);
>
> then a
> c[2] = rtf_create(3,200);
> c[3] = rtf_create(4,100);
> c[4] = rtf_create(5,100);
>
>
> What are FIFO's 1 & 2 for?? What is their purpose?
>
> Thanks for any advise you have for me in this matter
>
> Regards,
>
> Ray Minich
> Dresser Inc..
>
> ----- End of forwarded message from owner-rtl@fsmlabs.com -----
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
>
>
>