python multithreading data race
问题 I`m making the multithread system on python 2.7. Basically, it has 3 thread and one singleton-class with shared data. Red arrow - invoke ; Blue arrow - access Every thread is separate class in a file. The file main.py import working and communication files, and shared data. Then main thread invoke working class in one thread and communication in another one thread. Herewith shared data, as only one instance of singleton, is passed in constructors of working class and communication class. File