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

dBus backend spins the event loop

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes