David Klasinc
Tue, 17 Jun 2008 07:28:23 -0700
Greetings,After QThread.run() was called, shouldn't calling thread continue with its execution and not wait for the thread to finish? Shortened example follows
class myThread (QtCore.QThread): def run (self): print "T 1" sleep 1 print "T 2" sleep 1 print "T 3" thread = myThread() print "Foo" thread.run() sleep 1 print "Bar" And The result is Foo T 1 T 2 T 3 Bar Shouldn't it be: Foo T 1 Bar T 2 T 3 Anyone can shed some light on this? rgrds, David _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt