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

Tasking::parallel should default to "QThread::idealThreadCount()", not infinite

    XMLWordPrintable

Details

    • 20e332b13 (master)

    Description

      Tasking::parallel currently equals Tasking::parallelLimit(0) which does not limit the amount of spawned tasks at all. This is rarely what is wanted as it can easily clog the system to a point where the UI starts to be blocked, or system resources are used up.

      I'd suggest to change parallel to mean "QThread::idealThreadCount()", and maybe add "inifiniteParallel" for "as many tasks as you like".

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-30647
        # Subject Branch Project Status CR V

        Activity

          People

            jkobus Jarek Kobus
            madwinter Marcus Tillmanns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes