[QGIS-Developer] Using task to run multiple processes in an algorithm

René-Luc Dhont rldhont at gmail.com
Wed Aug 5 06:32:02 PDT 2020


Hi dev,

I have a little question : Is it possible to run multiple processes with 
QgsProcessingAlgRunnerTask in QgsProcessingAlgorithm::processAlgorithm ?

Once a QgsProcessingAlgRunnerTask instanciated and configured it has to 
be passed to the QgsTaskManager available through QgsApplication. Is 
QgsApplication available in QgsProcessingAlgorithm::processAlgorithm and 
thread safe ?

Regards,
René-Luc


More information about the QGIS-Developer mailing list