[Interest] Qtconcurrent::run priority

Ramakanth Kesireddy rama.kesi at gmail.com
Mon Dec 30 07:11:22 CET 2019


I mean the function being run in a separate thread using Qtconcurrent::run
is auto deleted from QThreadpool?

On Mon, 30 Dec, 2019, 05:52 Thiago Macieira, <thiago.macieira at intel.com>
wrote:

> On Saturday, 28 December 2019 08:21:39 -03 Ramakanth Kesireddy wrote:
> > Whether the thread created using Qtconcurrent::run returning
> QFuture(status
> > monitored using QFutureWatcher) needs to be deleted explicitly  by the
> > application or it is auto deleted when there are no references?
>
> QtConcurrent::run does not return a thread. It returns a QFuture.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel System Software Products
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20191230/d4078df6/attachment.html>


More information about the Interest mailing list