On Tue, Jan 11, 2000 at 06:32:13PM +0100, Ivan Martinez wrote:
> As I explained when I talked about my project, the aim is to communicate
> two RT tasks: 
> - One of them, say the "ignorant", is precompiled, so it should know about
> the other as little as possible. It should do something like "I read my 
> input, perform calculations, and write my output".
> - The other, say the "informed", would be told about the other process
> after being compiled. Then it would write "ignorant"'s
> inputs and read "ignorant's" outputs.

Task one:  read fifo X
           write fifo Y

Task two:
           read fifo Y
           write fifo X

Or if you prefer
task two can be a Linux process.

This is the most simple RTLinux application of fifos unless I have
missed something from your explanation.

Of course, one can use shared memory as well, either via mbuff
if we are sharing memory between RT and Linux or directly if we 
are using only RT tasks.


> 
> rt_mq_init must be called by one process or both?. 
> If one of them creates the queue (the "ignorant?"), how can the other use
> it?.
> I think RTAI's lxrt has solutions for this but I am still investigating
> it.
> 
> On Mon, 10 Jan 2000 [EMAIL PROTECTED] wrote:
> 
> > 
> > >   Could somebody tell me all the possible ways of
> > > communicating RT tasks? (between them, not with Linux tasks).
> > 
> > Messages queues are available.
> > See rtl/semaphores/man/man2/*
> > 
> > Regards
> > 
> > Gabor
> > 
> 
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/

-- 
---------------------------------------------------------
Victor Yodaiken 
FSMLabs:  www.fsmlabs.com  www.rtlinux.com
FSMLabs is a servicemark and a service of 
VJY Associates L.L.C, New Mexico.

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to