June 2003
Intermediate to advanced
912 pages
21h 37m
English
Programs that manage shared resources must execute portions of code called critical sections in a mutually exclusive manner. This chapter discusses how critical sections arise and how to protect their execution by means of semaphores. After presenting an overview of the semaphore abstraction, the chapter describes POSIX named and unnamed semaphores. The closing section outlines a license manager project based on semaphores.
Imagine a computer system in which all users share a single printer ...
Read now
Unlock full access