Hello, everyone,
I am a newbie to RTLinux. I just begin to study RTLinux
since we are planning to do some research with RTLinux.
Now I am trying to get understand RTLinux. And help from
you guys will save my time and efforts and thus will be
greatly appreciated.
I have several questions now. I am trying to understand
how the RTFIFOs work. Assume a RTFIFO is set up and a RT
process will write data into it, a non-RT process will
read the data. If the RT-fifo is empty, the non-RT process
will be blocked. When the RT write process write data
into the RT-fifo, the blocking process should be waked up.
I looked at the code, it seems to me that the rtf-put
function will put a wake-up task into the tq-rt; and this
wake-up task will be run when the linux scheduler is
run, thus wake up the blocking non-RT process. Is this
correct?
I found an article in the newsgroup archive which asked a
way to send signals to a non-RT process to notify it that
a RT-process has written someting into the RT-fifo. If the
above is correct, why do we still need a mechanism to notify
the non-RT process about the status of the RT-fifo?
However, sending signals from a RT process to a non-RT
process is still very useful. Is there a simple way to
implement this kind of signal sending?
The other question is when the linux scheduler is executed?
Is it executed every time the control is switched back to the
linux kernel? And is it executed immediately after the
control switch or it will wait until the next scheduling
point?
Thanks
Ming Li.
--- [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/