Understanding multi threading support #171
Unanswered
githubuser0xFFFF
asked this question in
Q&A
Replies: 1 comment
-
The text below just is my own experience of pythonqt and I can not make sure everything is right.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm just trying to implement PythonQt in our application and I try to understand the multi threading support in the library but I'm afraid I didn't understand it completely. So I have a number of questions regarding multi threading
PythonQt::setEnableThreadSupport
meant for an when should I use it. From reading the docs I would say, it is required, as soon as I use thethreading
module from python. Is this right?PythonQtThreadStateSaver
orPythonQtGILScope
threading
module as long as the object is not an UI object?evalScript
from a Qt worker thread whenPythonQt::init
has been called in the main UI threadevalScript
) from a worker thread.Thank you for any help regarding these questions and btw. thank you for this great library.
Uwe
Beta Was this translation helpful? Give feedback.
All reactions