Chapter 16: Shared Memory and Semaphores

A chapter in the Linux Programming Bible; see the Table of Contents for more.


One of the most unique and potentially fastest ways to communiate in Linux, shared memory is covered here. You'll learn what it is, how to use it, and what its drawbacks are. In most cases, you'll also need a locking mechanism, and for that purpose semaphores are discussed as well.

Main Sections