python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
QThreadPool doesn't release memory after QRunnable has ended
I'm trying to implement image thumbnail loading. I use QThreadPool to make it multicore, but when an image loads, it doesn't free memory.
This problem occurs even if I don't use QImage object afterwar...
KotoWhiskas
Votes: 0
Answers: 0
PyQt5; Problem with QRunnable and QThreadPool
Referring to:
How to pass parameters to PyQt QThreadPool running function
I am trying to apply the above topic to my code to avoid GUI freezing, the issue that fails to create a pushbutton within the ...
abubasil
Votes: 0
Answers: 0
QProgressBar stuck when QRunnable runs a loop function passed in
I have a calculating function that need to be sent to Qrunnable Worker as a parameter. Then, the calculating function runs with a 0-100 loop calculating in Worker's run function. The Problem is: the f...
NorthBig
Votes: 0
Answers: 0
What is the best way to stop (interrupt) QRunnable in QThreadPool?
I have a long running task, which for example's sake I have made an infinite while loop:
def long_task(parent, progress_callback):
top = 100000
x = 0
while True:
if x < top:
...
Toakley
Votes: 0
Answers: 0