Chapter 11. Interprocess Communication

FreeBSD provides a rich set of interprocess-communication facilities intended to support the construction of distributed and multiprocess 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 5.2 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. 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. The architecture ...

Get Design and Implementation of the FreeBSD Operating System, The 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.