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: 76
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

A Field Guide to Genetic Programming

This book to provides a complete and coherent review of the theory of Genetic Programming (GP)). This unique overview of this exciting technique is written by three of the most active scientists in GP. ...

Migrating Big Data Analytics into the Cloud

Download free course Migrating Big Data Analytics into the Cloud, pdf file on 16 pages by Mike Barlow....

GIS Succinctly

Download free course GIS Succinctly, pdf file on 108 pages by Peter Shaw....

Asterisk: The Future of Telephony

Download free course Asterisk: The Future of Telephony, pdf file on 604 pages by by Jared Smith, Jim Van Meggelen, Leif Madsen....

Git Internals

Download free course Git Internals, pdf file on 121 pages by Scott Chacon....

Intertwingled

Download free course Intertwingled, pdf file on 157 pages by Douglas Dechow, Daniele Struppa....

Intel Xeon Phi Coprocessor Architecture and Tools

Download free course Intel Xeon Phi Coprocessor Architecture and Tools, pdf file on 220 pages by Rezaur Rahman....

Docker Succinctly

Download free course Docker Succinctly, pdf file on 98 pages by Elton Stoneman....

Introducing Microsoft Power BI

Download free course Introducing Microsoft Power BI, pdf file on 189 pages by Alberto Ferrari, Marco Russo....

Android on x86

Android on x86: an Introduction to Optimizing for Intel Architecture serves two main purpo..., download free Android tutorial in PDF (380 pages) created by Iggy Krajci ....