Answer the question
In order to leave comments, you need to log in
What literature would you recommend on interprocess communication in Python?
Hello.
Please advise examples of the implementation of interprocess communication in Python 3:
- semaphore
- shared memory
Googled on shared memory, everywhere they suggest simply passing data as parameters. And my goal is different: at the end of the process, "hang out" a flag for another process that you can kill this child process and cut off the connection.
UPD: well, and, accordingly, to work with all this business in the service process-dispatcher. Therefore, the descriptor must also fit into the shared memory.
Answer the question
In order to leave comments, you need to log in
I will advise the " Sharing state between processes " section of the official documentation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question