Great Phil, but I really think that adding the Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS to the wrappers may really help to run threads more smoothly, in case that the wrapped functions ask a lot of CPU time or require I/O.
Gerard On Friday 22 February 2002 17:46, Phil Thompson wrote: > Gerard Vermeulen wrote: > > (3) making Qt's thread related stuff available at the PyQt level. Qt's > > threading mechanism is rather similar to Python's threading mechanism. > > I think that it is most usefull for programmers who want to use their C++ > > threaded classes from PyQt. If not, it is maybe better to stick to > > Python's mechanism > > Given the nudge, I've added QThread, QSemaphore, QMutex and > QWaitCondition. They'll be in the next 3.1 pre-release. > > Phil _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde