Interaction of two c/c++ programs
问题 I'm in complete lack of understanding in this. Maybe this is too broad for stack, but here it goes: Suppose I have two programs (written in C/C++) running simultaneously, say A and B, with different PIDs. What are the options to make then interact with each other. For instance, how do I pass information from one to another like having one being able to wait for a signal from the other, and respond accordingly. I know MPI, but MPI normally works for programs that are compiled using the same