Hi, On Thursday 13 August 2009 00:15:13 Lukas Hetzenecker wrote: > But If I call long-running funtions in a run() method everything works as > expected.
Are these long-running functions implemented in python? Otherwise they will release the GIL and your gui becomes snappy again. > > 2) Use processes instead of threads. Then you can run several instances > > of the python interpreter at the same time. > This seems too complicated for this simple task. A "simple" task that really needs threads? Looking at my students learning python/programming, I would say using threads is already pretty complicated and not needed for a simple task. (Of course if you get to know them, it becomes easier. But then you also know about starting processes and communicate via shared-memory/named-pipes/etc.) Have fun, Arnold
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
