Drobe :: The archives
About Drobe | Contact | RSS | Twitter | Tech docs | Downloads | BBC Micro

Reply to thread

"Ah, but in kernel land we have preemption and reentrency (just to prove it, even with a fully frozen desktop, network and disc drive still work). So Acorn manage to make kernel level things with PMT, but not user applications ? They manage to make RISC iX with PMt but not ROS ?"

You're confusing modules (which work in the background, and are not PMTed as such - they're event driven CMTed) and processes. Much of RISC OS's kernel is not re-entrent at all. FileCore is one big irritating example, as are lots of other bits.

If, for example, you're in an OS_GBPB call to read in 2GB of data say, into one block (doesn't matter if this is actually possible or not, it's just an example.) pretty much the whole system stops until it's done. Under a pre-emptable, re-enterant kernel, other processes could still run happily, and use OS_GBPB themselves (perhaps even to read data from the same file.). It appears that you're confused on what kernel pre-emption is.

"Ah no, you cannot make a predictable system with PMT. At the best you'll make a soft or a hard RT system... That's not 100% predicatable. Why do you think Montavista tried to put different schedulers inside Linux kernel?"

Errr, I'm quite sure you're mad. Real Time operating systems are *all* about being predictable. If you think they're not predictable, that QNX installation at your local nuclear power plant, or WindRiver VxWorks in that cruise missile are in deep shit.

If what you mean is you can't predict what process is running at any given point, then that's true. It also doesn't matter. What predictability means in real-time scheduler terms is "when I wiggle this interrupt line into the CPU, this process will be swapped in within a certian number of microseconds to deal with it" *that's* predictability, and what is easily done with PMT, and a complete are to do with CMT.

Montavista specialise in embedding Linux. I certianly hope most people have learnt by now that Linux is utterly unsuitable for hard real time. But that's not the same as embedding.

 is a RISC OS Usernunfetishist on 30/07/03 8:30PM
[ Reply | Permalink | Report ]

Please login before posting a comment. Use the form on the right to do so or create a free account.

Search the archives

Today's featured article

  • From the BBC Micro, little Acorns grew : The Guardian reports

     Discuss this. Published: 8 Mar 2001

  • Random article

  • Programming articles republished online
    New website for developers seeking developers
     7 comments, latest by Timothy609 on 19/7/03 6:11PM. Published: 17 Jul 2003

  • Useful links

    News and media:
    IconbarMyRISCOSArcSiteRISCOScodeANSC.S.A.AnnounceArchiveQercusRiscWorldDrag'n'DropGAG-News

    Top developers:
    RISCOS LtdRISC OS OpenMW SoftwareR-CompAdvantage SixVirtualAcorn

    Dealers:
    CJE MicrosAPDLCastlea4X-AmpleLiquid SiliconWebmonster

    Usergroups:
    WROCCRONENKACCIRUGSASAUGROUGOLRONWUGMUGWAUGGAGRISCOS.be

    Useful:
    RISCOS.org.ukRISCOS.orgRISCOS.infoFilebaseChris Why's Acorn/RISC OS collectionNetSurf

    Non-RISC OS:
    The RegisterThe InquirerApple InsiderBBC NewsSky NewsGoogle Newsxkcddiodesign


    © 1999-2009 The Drobe Team. Some rights reserved, click here for more information
    Powered by MiniDrobeCMS, based on J4U | Statistics
    "Perhaps drobe should just redirect people to riscos.org, so people get the real news"
    Page generated in 0.0171 seconds.