Understanding multi threading support #171
Unanswered
githubuser0xFFFF asked this question in Q&A
Replies: 1 comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The text below just is my own experience of pythonqt and I can not make sure everything is right. |
BetaWas this translation helpful?Give feedback.
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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::setEnableThreadSupportmeant for an when should I use it. From reading the docs I would say, it is required, as soon as I use thethreadingmodule from python. Is this right?PythonQtThreadStateSaverorPythonQtGILScopethreadingmodule as long as the object is not an UI object?evalScriptfrom a Qt worker thread whenPythonQt::inithas 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
BetaWas this translation helpful?Give feedback.
All reactions