In this I do not understand at all. Maybe this is too wide for the stack, but here it is:
Suppose I have two programs (written in C / C ++) running simultaneously, for example A and B, with different PIDs.
What are the options to do, then interact with each other. For example, how I transmit information from one to another, for example, if you have the opportunity to wait for a signal from another and respond accordingly.
I know MPI, but MPI usually works for programs that are compiled using the same source (therefore, it is more suitable for parallel computing than just interaction from completely different programs built to interact with each other).
thanks
source share