Is it possible call evalScript in multithread #218
Replies: 1 comment
-
Let's see if I can get the necessary parts together: You need to call Inbetween you should then use the Note though that this means these code sections can not run in parallel (or at least only if some Python function does release the GIL, usually because of - potentially longer running - IO operations). I believe that this restriction will finally be removed in one of the next Python versions. |
Beta Was this translation helpful? Give feedback.
-
I set unique named module by "createUniqueModule" function for each thread. When using these modules' evalScript funciton in multithread. I got access confit error in python.dll.
Since PythonQt is a singleton. I think there may have multithread accesing confilt somewhere in PythonQt even I have unique named module.
Beta Was this translation helpful? Give feedback.
All reactions