Menu

Multiple independant instances in different Threads

Help
2018-11-05
2018-11-16
  • Uriel Elias Wiebelitz

    Hi everybody,

    for sure I'm not the first one but I could not find another thread that answered my qestion:
    What keeps me from instantiating multiple instances of PythonQt (and the Python Interpreter) except the singleton implementation?

    What Problems would come up when running completely different and independent scripts in different instances of the interpreter from different threads? Yes, we know that we have to keep in mind to access GUI elements only from the main thread.

    Could it be a solution just to break/workaround the singleton design of PythonQt?
    Would this cause serious problems? In my opinion there should not be a need for any synchronisation, is there?

    Thanks in advance!

     
  • Uriel Elias Wiebelitz

    Ok,
    let's forget about this question...
    I read a lot of the code during the last days and I realized it is not as easy as I thought.

    I think what I want to do is strongly related to what is described in another thread:
    https://sourceforge.net/p/pythonqt/discussion/631392/thread/28c4d2bd/

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.