Chapter 16: Synchronization with Semaphores


 Download CD Content

In This Chapter

  • Introduction to GNU/Linux Semaphores

  • Discussion of Binary and Counting Semaphores

  • Creating and Configuring Semaphores

  • Acquiring and Releasing Semaphores

  • Single Semaphores or Semaphore Arrays

  • The ipcs and ipcrm Utilities for Semaphores

Introduction

In this chapter, we ll explore the topic of semaphores. GNU/Linux provides both binary and counting semaphores using the same POSIX compliant API function set. We ll also investigate semaphores in GNU/Linux and their similarities with some of the other IPC (inter-process communication) mechanisms.




GNU/Linux Application Programming
GNU/Linux Application Programming (Programming Series)
ISBN: 1584505680
EAN: 2147483647
Year: 2006
Pages: 203
Authors: M. Tim Jones

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net