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