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

Confirm comment report request

At present, Wimp_Poll returns a reason code (event) and the task chooses the subroutine thread) that handles it.

The suggestion was that the task of choosing the routine could be handled by the WIMP. The WIMP then does not have to encode the event as a reason code, and the task does not have to decode it. Typically, decoding would be carried out in C/C++ by a case{} statement with 27+ comparisons. The case statement would then call a subroutine, with the overhead of (at least) 1 APCS call. While this bottleneck may be insignificant in itself, removing bottlenecks throughout code is the approach favoured by Steve Jobs (Apple) to improve responsiveness.

In fact, the suggestion impinges on another area of the disucssion. In a multiprocessor system (the Cortex A9 can have 4 cores, but it won't stop there), A single application can only take advantage of more than one core if the OS sees it as more than one entity (thread).

 is a RISC OS UserViking on 28/5/09 6:59AM
[ Reply | Permalink | Report ]

Click on the button below to confirm you wish to flag up this comment to the website's administrators. Abuse of this service will be frowned upon and it should only be used to notify us of comments that are extremely distasteful, indecent or otherwise unlawful. If you disagree with an opinion expressed or fact stated in a comment, please take part in the debate rather than expect it to be removed.

Return to the drobe.co.uk front page

Details

Reporting user / IP: / 54.81.79.128
Comment GID: 31124
Timestamp: Tue, 17 Oct 2017 18:40:19 +0000

Search the archives

Today's featured article

  • Java and RISC OS
    Nick Brown explores the state of play and future options
     47 comments, latest by em2ac on 28/09/07 12:34AM. Published: 19 Sep 2007

  • Random article

  • Recent freeware releases
    April goodies
     Discuss this. Published: 18 Apr 2002

  • 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
    ""
    Page generated in 0.0476 seconds.