Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27430

QtcProcess: Implement waitFor...() methods in general way

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • Qt Creator 8.0.0
    • None
    • Remote Linux
    • None
    • 0b2899215fe89e154e9c484d75107f977c766ec2

    Description

      In this way remove ProcessInterface::waitFor...() methods, as the general implementation should work for all ProcessInterface subclasses.

      The idea is that when calling certain QtcProcess::waitFor...() method, the QtcProcess moves temporarily the internal ProcessInterface object into a new thread and use a blocking QWaitCondition for communication with the ProcessInterface. Afterwards the temporary thread moves the ProcessInterface back to the main thread. The communication should look similar to the one implemented between CallerHandle and LauncherHandle.

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes