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

Confirm comment report request

AW: "instead of going about it top-down and presuming the applications must be changed how can people change the OS to account for non-multithreading applications?"

The approach I've taken with ROLF is to start with the equivalent of the RO polling system, but extended it to allow new applications to make use of the underlying preemptive scheduling and asynchronous I/O from Linux.

Specifically, there's still Poll and PollIdle (called PollWait), which block the calling thread until the Wimp sends it an event, but there are also two more functions, Detatch and PollActive, which allow the calling thread to keep working while waiting for events from the Wimp. The former detatches the process from the Wimp so it can do anything non-screen related in the background and be informed of pending Wimp events by a signal (or selected file descriptor), the latter allows the process to continue working while waiting for the Wimp to authorise screen-related activity by the process. Also, screen redraws are requested of processes in parallel (one outstanding rectangle redraw per process).

Since the kernel is Linux, processes can also start threads, but the above allows a lot of flexibility without needing the complexity inherent in threads.

 is a RISC OS UserStoppers on 28/10/08 10:33AM
[ 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: 24781
Timestamp: Tue, 18 Feb 2020 09:18:31 +0000

Search the archives

Today's featured article

  • It's the Music, Man
    It comes from not-so-far away
     14 comments, latest by cynic on 3/2/05 7:59PM. Published: 18 Aug 2004

  • Random article

  • BASIC V guide reprint touted
    Classic book returns [Updated]
     11 comments, latest by flypig on 15/2/05 6:38PM. Published: 12 Feb 2005

  • 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
    "Admittedly, that might contradict some editors' strongly held beliefs..."
    Page generated in 0.056 seconds.