On Fri, 17 Aug 2001, David Olofson wrote:
> On Friday 17 August 2001 03:34, Calin Culianu wrote:
> > Let's say your real-time thread were (erroneously) making use of some
> > kernel services that could potentially block. (Like, oh, writing to a
> > Linux fifo that might not have its buffers in memory, for instance).
> >
> > Could such cases cause the whole system to lock? Basically our
> > real-time thread is non-preemptible (not even by hardware-interrupts)
> > so we would never get out of the linux kernel routines that are
> > blocking (since no interrupts would ever make their way in to any sort
> > of interrupt handler both in RTL and in the regular kernel).
>
> Actually, I think the exception handling would still work, and invoke the
> swapper - although I'd rather not try it on my system to see what happens
> after that... :-)
Oh yes that's a good point. :) Although I imagine that once the swapper
tries it's swapping magic, it will hang as the hard disk drivers will
never be able to properly communicate with the hard disk (no interrupts
will make their way in).
>
> Either way, you don't have a hard real time system any more.
Agreed. :)
>
>
> //David Olofson --- Programmer, Reologica Instruments AB
>
> .- M A I A -------------------------------------------------.
> | Multimedia Application Integration Architecture |
> | A Free/Open Source Plugin API for Professional Multimedia |
> `----------------------------> http://www.linuxdj.com/maia -'
> .- David Olofson -------------------------------------------.
> | Audio Hacker - Open Source Advocate - Singer - Songwriter |
> `--------------------------------------> [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/
>
>
-- [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/