Hello everyone,

I have some questions concerning the communications between user space
program and the rtlinux program by fifo.

Consider such a scenerio, one rtlinux's program and one normal linux
program.  The rtlinux program  write to a fifo with
very high rate a structure,  and the fifo is created to be the same size
as that of the structure. The user program read the same structure from
that same fifo. 

What will happen that during the user program is reading from
the fifo when rtlinux program come  and take the resource over ? I can not
imagine how this issue be dealt with rtlinux. 

Another issue, consider again a rtlinux process, and a normal process.
This time the normal  process write a structure to a fifo and the rtlinux
read it. What will happen that when the linux process only write half of
the fifo when the rtlinux come to read it? 

Are such issues are considered already by rtlinux kernel or the user (like
me) of rtlinux should take care of it ?

Thanks

Dingrong 



-- [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