[Qgis-developer] Fwd: Threads in sextante

Etienne Tourigny etourigny.dev at gmail.com
Sat May 12 09:47:42 PDT 2012

I always thought that gdaltools and ftools should be non-blocking
(unless I am mistaken, they are currently blocking the rest of the
app), especially if the operation takes a long time.

This might have issues though with

1) progress report - can this be done by the executing thread?
2) what happens when the operation finishes

Ideally, there should be a way to cancel an operation, if it takes too
long (e.g. escape key when the operation window has focus)

Also, this could enable several similar operations to be done in
parallel - as long as they are not working on the same output files.


On Fri, May 11, 2012 at 3:25 AM, Paolo Cavallini <cavallini at faunalia.it> wrote:
> Il 10/05/2012 23:15, Martin Dobias ha scritto:
>> What should be the benefit of multithreading here? To run algorithms
>> outside from main thread so that GUI does not get blocked?
> IMHO this is the main reason; I think the way GDALTools work is fine for the user.
> All the best.
> --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

More information about the Qgis-developer mailing list