[Interest] Qtconcurrent::run priority

Ramakanth Kesireddy rama.kesi at gmail.com
Thu Dec 26 15:33:57 CET 2019


Thanks a lot for your response.

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/20191226/4f12b502/attachment.html>


More information about the Interest mailing list