Chapter 24. Semaphores

When you have multiple processes running concurrently, there is a frequent need for synchronization. This is particularly true for using shared memory when it is being updated. Whereas Chapter 22, "Interprocess Communication," covered the concepts behind semaphores, this chapter will focus on the system calls available under UNIX for using semaphores.

Get Advanced UNIX Programming 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.