Answer the question
In order to leave comments, you need to log in
How to return values from another process?
Good day. I need to return some values from a process that I call in parallel (using the multiprocessing module). With threads, this did not cause any problems, I just used 1 shared dictionary, this does not work with multiprocessing.
Answer the question
In order to leave comments, you need to log in
IPC is generally common in all programming languages
return value
Shared memory
File system
Sockets
Keep just for your module
https://www.geeksforgeeks.org/multiprocessing-pyth...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question