-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
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
- what is
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? - in which situations should I use
PythonQtThreadStateSaverorPythonQtGILScope - is it save to access the properties and slots of registered objects from threads created via
threadingmodule as long as the object is not an UI object? - is it allowed to call
evalScriptfrom a Qt worker thread whenPythonQt::inithas been called in the main UI thread - is there a recommended practice what to do, If I would like to call the interpreter (
evalScript) from a worker thread.
Thank you for any help regarding these questions and btw. thank you for this great library.
Uwe
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested