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

Provide an API for starting an asynchronous task ​

XMLWordPrintable

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

      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.
       

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes