Chapter 12. Interprocess Communication

FreeBSD provides a rich set of interprocess-communication facilities intended to support the construction of distributed programs built on top of communications primitives. Support for these facilities is described in this chapter.

No one mechanism can provide for all types of interprocess communication. The subsystems that provide IPC in FreeBSD 10 can be broken down into two areas. The first provides for IPC on a single system and includes support for semaphores, message queues, and shared memory. These subsystems were described in Section 7.2. The second is the socket interface, which provides a uniform communication API for network communication.

The socket API is deeply entwined with the network subsystem. ...

Get Design and Implementation of the FreeBSD Operating System, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.