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

QtConcurrent::blockingMap will block all the following threads running in QThreadPool

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.3.0
    • None
    • 8
    • Foundation Sprint 63

    Description

      check the attached example.

      when the application run the QtConccurrent::blockingMap method ,all the threads in QThreadPool will be blocked

      reproduce steps(see the screenshot):
      1, run the background task.
      2. run the normal task.

      expected resultL: the normal task will get running.
      actual result: the normal task does not run.

      Attachments

        1. image-2022-06-11-12-11-24-277.png
          107 kB
          yifang xiao
        2. qtconcurrent-qthreadpool.zip
          199 kB
          yifang xiao

        Activity

          People

            kokujawa Konrad Kujawa
            xiaoyifang yifang xiao
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: