The Little Book of Semaphores, 2nd Edition

The Ins and Outs of Concurrency Control and Common Mistakes


The Little Book of Semaphores, 2nd Edition
The Little Book of Semaphores, 2nd Edition
CC BY-NC-SA

Book Details

Author Allen Downey
Publisher Green Tea Press
Published 2016
Edition 2nd
Paperback 291 pages
Language English
ISBN-13 9781441418685
ISBN-10 1441418687
License Creative Commons Attribution-NonCommercial-ShareAlike

Book Description

The Little Book of Semaphores is a free 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.


This book is available under a Creative Commons Attribution-NonCommercial-ShareAlike license (CC BY-NC-SA), which means that you are free to copy, distribute, and modify it, as long as you credit the original author, don't use it for commercial purposes, and share any adaptations under the same license.

If you enjoyed the book and would like to support the author, you can purchase a printed copy (hardcover or paperback) from official retailers.

Download and Read Links

Share this Book

[localhost]# find . -name "*Similar_Books*"


The Tiny Book of Rules

Drupal

The Tiny Book of Rulesis tiny and it's about the Rules module for Drupal. Rules is a module usually used to auto-mate actions on your Drupal site. Rules can react on events occurring on your site - such as a user logging in or a node being created - and perform customized follow-up actions such as redirecting to a certain page or setting field valu

Pro TBB

C / C++

This book is a modern guide for all C++ programmers to learn Threading Building Blocks (TBB). Written by TBB and parallel programming experts, this book reflects their collective decades of experience in developing and teaching parallel programming with TBB, offering their insights in an approachable manner. Throughout the book the authors present

The Little Book of Deep Learning

The current period of progress in artificial intelligence was triggered when Krizhevsky et al. demonstrated that an artificial neural network designed twenty years earlier could outperform complex state-of-the-art image recognition methods by a huge margin, simply by being a hundred times larger and trained on a dataset similarly scaled up. This br

Load Balancing in the Cloud

Nginx AWS Cloud

Use of redundant servers has long been a solution for meeting sudden spikes in demand, machine failures, and outages. Cloud services greatly reduce the cost and hassle of provisioning redundant equipment and load balancers and give you the ability to deal with separate network, application, and client-side loads. But today there are many options to

The Computers That Made Britain

The home computer boom of the 1980s brought with it now iconic machines such as the ZX Spectrum, BBC Micro, and Commodore 64. Those machines would inspire a generation. Written by Tim Danton. The Computers That Made Britain (300 pages, hardback) tells the story of 19 of those computers - and what happened behind the scenes. With dozens of new inter

JavaScript Bible, 4th Edition

JavaScript

Greatly enhanced and updated from the third edition, this is the title any JavaScripter cannot afford to be without! JavaScript Bible, 4th Edition covers the new powerful functionality JavaScript will gain with the release of new revs of Internet Explorer and Netscape Communicator. This book features essential new JS information, additional ready-t