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

QThreadPool and direct access to underlying QThread (Threads and CoInitialize)

    XMLWordPrintable

Details

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

    Description

      CoInitializeEx needs to be called for all threads seperately. Since I do not have access to the Threads of a QThreadPool, I have to use Workarounds to have it behave. And even then I cannot call CoUnInitialize correctly since I do not know when the Thread will be deleted. Therefore I would suggest to add virtual methods to QThreadPool or a signal/slot solution for "ThreadStart" and "ThreadEnd" so that one can call stuff like CoInitialize correctly.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            marcusti Marcus T (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes