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

Qt Concurrent: Reduce option broken in sequential case.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.0 Beta3
    • Core: QtConcurrent
    • None
    • All
    • 5

    Description

      At the moment, Qt only supports sequential reduction by combining unordered or ordered modifiers.

       

      QtConcurrent::UnorderedReduce | QtConcurrent::SequentialReduce

      QtConcurrent::OrderedReduce | QtConcurrent::SequentialReduce

       

      There is a problem, however, if you specify only QtConcurrent::SequentialReduce. It should default to either Unordered or Ordered Reduce, but it doesn't, leaving one thread to perform all the reductions.

       

      Based on this conversation:

      https://codereview.qt-project.org/c/qt/qtbase/+/460906/1..8/examples/qtconcurrent/progressdialog/progressdialog.cpp#b35

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            dennisoberst Dennis Oberst
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes