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

dBus backend spins the event loop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.0.0 Beta 1
    • None
    • Linux

    Description

      The Service Framework backend in waitForData() does:

      QEventLoop loop;
      loop.exec();

      This isn't acceptable for Qt. This forces all code and libraries using SFW to be re-entrant and to expect the event loop to be spun at any time. This is not acceptable and not compatible with QML/v8.

      This code must be changed to block properly and only process SFW events while waiting. An example can be taken from the Unix backend on how to handle this issue.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ablasche Alex Blasche
            stanleyj Andrew Stanley-Jones (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes