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

QThreadPool: emit signal when the queue size exceed a configurable value

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.8.2
    • Core: Threads
    • None

    Description

      Would be really useful to known how many threads are queued (waiting for processing) in a QThreadPool queue, for example an app can add threads more quickly than the running threads end and so the queue can grow for ever.
      A signal notification or a method to query the number of actual queued threads could allow the application to stop adding threads when the number of queued threads is too high

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            drakkan Nicola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes