Free Online Computer Science and Programming Books, Textbooks, and Lecture Notes

The Little Book of Semaphores, Second Edition
Reply with quote
The Little Book of Semaphores, Second Edition

Author : Allen B. Downey, Associate Professor of Computer Science at Franklin W. Olin College of Engineering
Publication Date : 2005
Free License : GNU Free Documentation License

Terms and Conditions:

Allen B. Downey wrote:
This is a Free Book, which means that anyone is welcome to read, copy, modify and redistribute it, subject to the restrictions of the license, which is the GNU Free Documentation License. I hope that people will find this book useful, but I also hope they will help continue to develop it by sending in corrections, suggestions, and additional material. Thanks!

Book Summary:

The Little Book of Semaphores is a free (in both senses of the word) textbook that introduces the principles of synchronization for concurrent programming.

In most computer science curricula, synchronization is a module in an Operating Systems class. OS textbooks present a standard set of problems with a standard set of solutions, but most students don't get a good understanding of the material or the ability to solve similar problems.

The approach of this book is to identify patterns that are useful for a variety of synchronization problems and then show how they can be assembled into solutions. After each problem, the book offers a hint before showing a solution, giving students a better chance of discovering solutions on their own.

The book covers the classical problems, including Readers-writers, Producer-consumer, and Dining Philosophers. In addition, it collects a number of not-so-classical problems, some written by the author and some by other teachers and textbook writers. Readers are invited to create and submit new problems.

Arrow View/Download The Little Book of Semaphores, Second Edition
View user's profileSend private message
 Reply to topic