On Mon, Nov 13, 2000 at 05:47:55PM +0100, Paolo Mantegazza wrote:
# Denis Karpov wrote:
# > 
# > hello All,
# > 
# > i have a (newbie) question. i compiled and installed rtai-24.1.2.
# > (linux kernel-2.4.1-test1) all examples are running ok.
# > 
# > i'm interested in fifo communication mechanism (i assume there's not
# > much difference in this between rtlinux and rtai). but all examples
# > i've seen so far use fifo to communicate between realtime task and
# > user space process. may be i'm missing something.
# > 
# > are there any example that demonstrates communication
# > between a task running in kernel space (usual linux kernel module) and
# > real time task (using the same fifo mechanism, or shared memory) ?
# > 
# > thank you in advance,
# > 
# > Denis.
# > 
# > P.S. btw, is this mailing list the appropriate place to ask questions about
# > RTAI ? unfortunately, there seems to be no offficial RTAI mailing list...
# 
# I never tried it your way but it should work. Fifos do no block in
# kernel space so there should be no harm.
# 
# What I do not understand is the related need, as all the kernel
# applications can freely communicate among them.
oh, yes... i should have guessed. so, if i understood right, linux is a thread
as weel as other real time tasks, i.e. everything what is running above 
HAL/microkernel.
threads have common address space. => i can pass data in usual was (by calling 
functions).
is that right ?

the reason why i was trying to use fifos - i misunderstood the documentation.
now i understand that fifo is mainly mechanism for communication between userspace and
real time tasks. that cost me couple of reboots :(

so is it ok if i call RT kernel module's function from withing usual kernel module ?
 what about the rt scheduling in that case ?

# 
# About the mailing list note that there is also
# [EMAIL PROTECTED] It is the list I use to announce RTAI
# releases and should be a neutral one. Most RTAI users are listed on it. 
ok, thanx for pointer.

# 
# In any case till Victor remain kind enough to keep RTAI people on the
# RTL list for me is the same, I follow both.
# 
# Ciao, Paolo.

thank you. back to hacking, 
Denis.

-- 
  ("\''/").__..-''"`-. .         [EMAIL PROTECTED]
  `9_ 9  )   `-. (    ).`-._.`)  http://www.lut.fi/~karpov/
  (_Y_.)' ._   ) `._`.  " -.-'   +358 (0)40 502 0931
   _..`-'_..-_/ /-'_.'           Lappeenranta University of Technology
 (l)-'' ((i).' ((!.'             
  *** He's not dead -- He's electroencephalographically challenged.  ***
-- [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