Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-15019

investigate whether a round-robin active scheduler could be implemented and used to benefit Qt application behaviour

    XMLWordPrintable

Details

    • e31bcd340a24a8698ee4dc85dd2ccb2bd6ab10e7, cf573d54c588e1ee10a7d8979faef2e0ab8bb17e, 8b55d8421f786d3f631ccca16ac0e229e23bbc9c

    Description

      With strict active object priority, first-in-first-served scheduling, it is fairly easy for an active object to exclude other active objects from running. This has been a significant problem in Qt apps, and the current implementation of the Qt event loop for Symbian does quite a lot of work to reschedule active objects so that they run in a round-robin fashion.

      Rather than adding ever more complexity to the Qt event loop, we should investigate the benefits of having an active scheduler that schedules AOs in a round-robin style, possibly with soft priorities too. Then we can build a case for having the Symbian kernel enhance the OS provided scheduler, and investigate ways to support such a change on older platforms.

      Attachments

        1. main.cpp
          13 kB
        2. QtTimerBalance.zip
          3 kB
        3. RRSched4.7.diff
          13 kB
        4. RRSched4.8.diff
          13 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mread Murray Read
            mread Murray Read
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes