[PyQt] QThread, suggestions.

Ville M. Vainio vivainio at gmail.com
Thu Jan 29 19:53:12 GMT 2009


On Thu, Jan 29, 2009 at 5:34 PM, Matt Smith <melkor at orangepalantir.org> wrote:

> It looks like I could just replace the QThread with a
> multiprocess.Process except for the fact the QThread is a QObject which
> uses signals and slots.
>
> If I want to use the same techniques I would have to start a Process in
> a QThread to get similar behavior; a signal when finished.  I suppose
> the performance would be better if approached correctly.

It might also be quite interesting to create a cross-process
signal/slot system for multiprocessing & PyQt. It already has
synchronization primitives, why not create an easy-to-use signal
wrapper for it that works seamlessly with qt event loop?

-- 
Ville M. Vainio
http://tinyurl.com/vainio


More information about the PyQt mailing list