Regarding your question whether it is possible to get by with a single pipe— read the documentation that applies to your platform. On linux, refer to man 7 pipe.
You need atomic writes so that the messages don't intermingle. This may be guaranteed, provided (a) your OS adheres to POSIX or otherwise makes the same allowances, and (b) the messages are smaller than some fixed limit (such as 512).
In reply to Re: Getting messages from child processes via pipes
by Anonymous Monk
in thread Getting messages from child processes via pipes
by Frizoker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |