Hi Etienne, On Thu, 19. Jul 2012 at 19:16:03 -0300, Etienne Tourigny wrote: > I guess then the pragmatic way to resolve these kinds of issues is to spawn > them in working threads and implement mechanisms for cancelling it. Is this > possible with the current api?
I don't think so - the providers probably don't like being called from several threads at once - or lack an interface to try that to begin with (see threading branch...) > For example - could the browser dock run in a separate thread? That way, if > it becomes unresponsive at least the app isn't. No, all the GUI is handled in the main thread only. Working threads would need to communicate via signals/slots with the GUI (examples postgres provider and fTools). And as said that would need major changes - because all loops would need to be split into several slots (examples in GPS detection and in the WMS provider for WMS-C). > > BTW the threading branch was/is addressing some of these issues. > Are you referring to the inactive dev-threading branch? Yes. > Any plans on reviving that? I think there was a discussion about that a short > while ago. Not on my end - no time. Martin, who did it, probably has/had plans, but also fell short of time. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de committ(ed|ing) to Quantum GIS IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
