[Interest] Qtconcurrent::run priority
Ramakanth Kesireddy
rama.kesi at gmail.com
Sat Dec 28 12:21:39 CET 2019
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?
Best Regards,
Ramakanth
On Wed, 25 Dec, 2019, 21:29 Thiago Macieira, <thiago.macieira at intel.com>
wrote:
> On Monday, 23 December 2019 23:34:49 -03 Ramakanth Kesireddy wrote:
> > If the function is being run in a thread using Qtconcurrent::run spawned
> > from another thread(pthread), could you please let me know if the default
> > priority of the thread is QThread::NormalPriority or
> > QThread::InheritPriority?
>
> QtConcurrent::run uses QThreadPool, which doesn't change the QThread's
> default
> priority. That means it's InheritPriority.
>
> --
> 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/20191228/937998ca/attachment.html>
More information about the Interest
mailing list