Not to freeze the main window while running a loop of threads
Unsolved
General and Desktop
-
class mythread(QThread): ... class main(): .... for i in range(10): self.thread=mythread() self.thread.start() seld.thread.wait()
without wait(), the 10 threads will be built continuously. With wait(), the main window freeze.
is there a way to solve this?Thanks!!!
-
@sylvalas said in Not to freeze the main window while running a loop of threads:
is there a way to solve this?
Don't call self.thread.wait()
-
Hi,
In addition to @Christian-Ehrlicher, what exactly are you trying to achieve ?