Sharing a complex object between processes?
After a lot research and testing, I found that “Manager” does this job at a non-complex object level. The code below shows that object inst is shared between processes, which means property var of inst is changed outside when child process changes it. from multiprocessing import Process, Manager from multiprocessing.managers import BaseManager class SimpleClass(object): def … Read more