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

Provide an API for starting an asynchronous task ​

    XMLWordPrintable

Details

    • User Story
    • Resolution: Fixed
    • P2: Important
    • 6.0
    • None
    • Core: Threads
    • None
    • All
    • 21

    Description

      We currently have QtConcurrent::run for starting asynchronous tasks, which doesn’t fit well with the rest of QtConcurrent APIs. It would be good to have something in Qt Core instead. So we can move QtConcurrent::run to Qt Core and also consider renaming it to qAsync.

      Additionally, it will require some improvements. In particular: modernizing, using variadic arguments instead of overloads with different number of template args, making more flexible. For example, take a look at qtcreator's runAsync.
       

      Attachments

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

        Activity

          People

            sonakur Sona Kurazyan
            sonakur Sona Kurazyan
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes