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 The Design and Implementation of the FreeBSD® Operating System, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.