The Little Book of Semaphores



Download free course The Little Book of Semaphores, pdf file on 291 pages by Allen Downey.
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.

Table of contents

  • Introduction
  • Semaphores
  • Basic synchronization patterns
  • Classical synchronization problems
  • Less classical synchronization problems
  • Not-so-classical problems
  • Not remotely classical problems
  • Synchronization in Python
  • Synchronization in C
  • Cleaning up Python threads
  • Cleaning up POSIX threads
Pages : 291
Size : 1.2 MB
File type : PDF
Downloads: 61
Created: 2022-02-03
License: CC BY-NC-SA
Author(s): Allen Downey
The Little Book of Semaphores

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others Semaphores Tutorials

The Little Book of Semaphores

Others related eBooks about The Little Book of Semaphores

Handbook of Vascular Biometrics

Download free course Handbook of Vascular Biometrics, pdf file on 535 pages by Andreas Uhl, Christoph Busch, Sébastien Marcel, Raymond Veldhuis....

Learning iOS

Download free course Learning iOS, pdf file on 1117 pages by Stack Overflow Community....

Scala Succinctly

Download free course Scala Succinctly, pdf file on 110 pages by Chris Rose....

SQL injection: attacks and defenses

Download free SQL Injection pdf tutorial on 24 pages by Dan Boneh ,learn how the QL Injection works and how preventing from it....

Bing Maps V8 Succinctly

Download free course Bing Maps V8 Succinctly, pdf file on 106 pages by by James McCaffrey....

Adobe Photoshop CS Tips and Tricks from the Experts Tutorial

Learn how to use Photoshop like an expert in photography, graphic design, make a video, Web design and animation, tips, and tricks for all level-users....

Big Data on Real-World Applications

As technology advances, high volumes of valuable data are generated day by day in modern organizations. The management of such huge volumes of data has become a priority in these organizations, requiring new techniques for data management and data analysis in Big Data environments. These environment...

iOS Notes for Professionals

Do you want to understand all the facets of iOS programming and build complex iOS apps? Then you have come to the right place. This problem-solution guide will help you to eliminate expensive learning curves and focus on specific issues to make you proficient at tasks and the speed-up time involved....

Re-engineering the Uptake of ICT in Schools

Download free course Re-engineering the Uptake of ICT in Schools, pdf file on 214 pages by Frans Van Assche, Luis Anido, David Griffiths, Cathy Lewin, Sarah McNicol....

Developing Backbone.js Applications

Download free course Developing Backbone.js Applications, pdf file on 346 pages by Addy Osmani....