 | | In this chapter, we examine the myriad ways in which two UNIX processes executing on the same computer can communicate with each other. In the next two chapters, we examine how processes running on different computers can communicate. We begin this chapter with a discussion of pipes, the most basic form of interprocess communication (IPC), one that has been around since UNIX was created. We move on to first-in first-out devices, usually called FIFOs or named pipes, and then to UNIX-domain sockets, which in some sense are the same thing implemented differently. We finish with a discussion of message queues, semaphores, and shared memory; these three ideas are often collectively referred to as System V IPC. | |
|