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


Reporting user / IP: /
Comment GID: 31124
Timestamp: Tue, 20 Mar 2018 05:54:44 +0000

Search the archives

Today's featured article

  • Delving inside an A9home
    First look at how Ad6 crammed so much into such little space [Updated]
     43 comments, latest by AMS on 15/07/05 9:56PM. Published: 25 Jun 2005

  • Random article

  • Ultima IV game port released
    Classic hack and slash
     4 comments, latest by guestx on 27/10/03 9:30AM. Published: 24 Oct 2003

  • Useful links

    News and media:

    Top developers:
    RISCOS LtdRISC OS OpenMW SoftwareR-CompAdvantage SixVirtualAcorn

    CJE MicrosAPDLCastlea4X-AmpleLiquid SiliconWebmonster


    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
    "It burns my eyes!"
    Page generated in 0.048 seconds.