This might be a silly question, but what’s the best way to keep insert/delete/retrieve elements of an array in a multi-threaded Python application, but not keep the array global or assign an entire thread to keep track of the changes to that single array? It feels tiresome to pass the array to each function I use.
This might be a silly question, but what’s the best way to keep insert/delete/retrieve
Share
If you can’t use globals, maybe you can use Qt’s QThread class. You can use signals to access to the thread.