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: Sun, 17 Nov 2019 19:29:58 +0000

Search the archives

Today's featured article

  • Wakefield 2009 wrap-up, photos and video
    The weekend's RISC OS event has been and gone and we've got the rest of our lives to look forward to. Here's a round-up of extra news and Drobe's show-related coverage and some photos taken from Wakefield 2009 - plus a video from the show floor.
     16 comments, latest by AW on 29/4/09 7:41PM. Published: 27 Apr 2009

  • Random article

  • drobe.co.uk pilfers elusive Omega
    Mine! All mine! And we have the photos to prove it
     17 comments, latest by EPDM on 3/4/03 12:07AM. Published: 30 Mar 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
    "I must put drobe.co.uk on the blacklist of UN USER FRIENDLY ACORN WEBSITES"
    Page generated in 0.0473 seconds.