[Interest] Qtconcurrent::run priority

Thiago Macieira thiago.macieira at intel.com
Mon Dec 30 15:16:52 CET 2019


On Monday, 30 December 2019 03:11:22 -03 Ramakanth Kesireddy wrote:
> I mean the function being run in a separate thread using Qtconcurrent::run
> is auto deleted from QThreadpool?

QtConcurrent::run does not take an object pointer. Therefore, there's nothing 
whose ownership could be transferred. The question does not make sense.

Function pointers NEVER EVER transfer ownership and there's never any creation 
or deletion of them.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Interest mailing list