I want to use ProcessPoolExecuter to decode messages I get from a generator. before initializing the ProcessPoolExecuter I initialize a dictionary needed for the decoding. I want my child processes to copy this dictionary so they can use it to decode the message. since I'm using windows, it uses spawn to create the new process and so it does not inherent the dictionary.
I tried to run get_all_start_methods to see if I can change the mp_context to fork but it seems it's unavailable.
Is there a known way to use processes on windows which inherent the parent process memory?