In most cases you are better off using the higher-level Queue to exchange complex data between processes, but the Queue makes use of the lower-level Pipe, which is provided by the operating system. A ...
A simple example demonstrates the basics of using a Queue. An addCount function is run as one process and this stores 1000 integers in the queue and then two processes running getCount read the data ...