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

Qt 5 to-do in QtConcurrent

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 5.0.0 Beta 1
    • None
    • Core: QtConcurrent
    • None

    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

              sorvig Morten Sørvig
              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