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

Qt 5 to-do in QtConcurrent

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.0.0 Beta 1
    • Component/s: Core: QtConcurrent
    • Labels:
      None
    • Technical Risk:
      Normal

      Description

      qtconcurrentthreadengine.h contains the following Qt 5 To-do comment:

      qtconcurrentthreadengine.h
      class ThreadEngineBarrier
      {
      private:
          // The thread count is maintained as an integer in the count atomic
          // variable. The count can be either positive or negative - a negative
          // count signals that a thread is waiting on the barrier.
      
          // BC note: inlined code from Qt < 4.6 will expect to find the QMutex 
          // and QAtomicInt here. ### Qt 5: remove.
          QMutex mutex;
          QAtomicInt count;
      

      If this can be resolved without affecting source-compatibility, it should be done for Qt 5.0.0. If not, the comment should be updated to make this a Qt 6 to-do.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                sorvig Morten Sørvig
                Reporter:
                jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes