> Let's just say I thought the concept of a 4000 mHz pentium was very
> interesting.  Especially when you consider that as a 14 year old (1967) I
> was excited as he** to get a 6L6 to oscillate at 1 mHz.  (And dont anybody
> ask what a 6L6 is..... look it up :>)
> 
> Ok, so let me ask a dumb question.
> 
> What happens if I have a rtl thread dumping characters into a FIFO, and my
> linux process doesn't query and empty the FIFO for a while, maybe for a long
> while.  Will the FIFO fill up and crash the system?  

no you simply start losing data - fifos are non-blocking from the RT-side.

> 
> Also,
> 
> I want a rtlinux module to watch for the change of state of a digital input
> and then flag the change of state to the linux process and also communicate
> how much time has elapsed since the last change of state.  Elapsed times
> could be anywhere from 1500 msec to 6000 msec.  I figure using a FIFO to
> xmit a flag value (i.e. 0 or 1) and an elapsed time value (like the
> nanosecond clock's change in count).
> 
> Am I on the right track?

you can use a fifo that the linux task has opend for reading 
or you could use shared memory .

> 
> Also, Victor, if you read this (or anyone else who may want to interject),
> is it normal for RTL 3.0 to pass thru single user mode on it's way to level
> 3 and then  level 5 sysinit?  I had to reconstruct just exactly how my PATH
> environmental variable was being built on a stock RTL 3.0 install, and it
> turns out the first 4 entries are coming from /etc/rc.d/init.d/single.  Is
> this part of the plan (i.e. normal?) 
>
the init levels are devined in /etc/inittab - it is basically up to
the distribution at what level they launce what - SuSE launces X
in init level 3 RedHat in init level 5 . The init level is only
a hook to what scripts are being executed (located in /etc/rc.d/rc0.d...rc6.d
for RedHat and in /sbin/init.d/rc0.d...rc6.d for SuSE) .

so every box boots into rcS first and then goes up to the initdefault also
defined in /etc/inittab .

hofrat 

----- End of forwarded message from [EMAIL PROTECTED] -----
-- [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/

Reply via email to