[Interest] Qtconcurrent::run priority

Thiago Macieira thiago.macieira at intel.com
Wed Dec 25 16:57:34 CET 2019


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





More information about the Interest mailing list