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.macie...@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@qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to