in reply to
IPC recommendations needed
I would do this:
Every time you fork, create a socketpair.
This gets passed to the child.
You can use this socket to pass data back and forth.
All it is is an unnamed pipe.
You'd communicate to it as you would a socket.
I've done this many times.
I make decisions, and my brain carries them out
My brain makes the decisions, and I observe them (if I'm lucky)
I make some decisions, and my brain makes others
My spouse makes decisions and I and my brain carry them out
I wrote a program to relieve me and my brain from the burden of decision-making
The black-helicopter people project the decisions into my brain and then I do as ordered
Results (511 votes),