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

Crypto 101

Download free course Crypto 101, pdf file on 254 pages by Laurens Van Houtven....

Think Stats

Download free course Think Stats, pdf file on 264 pages by Allen Downey....

The Big Data Agenda

Download free course The Big Data Agenda, pdf file on 156 pages by Annika Richterich....

Fundamentals of Azure

Download free course Fundamentals of Azure, pdf file on 263 pages by Michael Collier, Robin Shahan....

The Little Book of Semaphores

The Little Book of Semaphores is a free textbook that introduces the principles of synchro..., download free Semaphores tutorial in PDF (291 pages) created by ....

Intel Galileo and Intel Galileo Gen 2

Intel Galileo and Intel Galileo Gen 2: API Features and Arduino Projects for Linux Program..., download free Intel Galileo tutorial in PDF (680 pages) created by Manoel Carlos Ramon ....

Yet Another Introductory Number Theory Textbook (Cryptology Emphasis Version)

This introductory number theory textbook has a particular emphasis on connections to cryptology. ...

A Graduate Course in Applied Cryptography

Cryptography is an indispensable tool used to protect information in computing systems. It..., download free Cryptography tutorial in PDF (900 pages) created by Dan Boneh ....

Machine Learning for Cyber Physical Systems

This Open Access proceedings presents new approaches to Machine Learning for Cyber Physical Systems, experiences and visions. It contains some selected papers from the international Conference ML4CPS – Machine Learning for Cyber Physical Systems, which was held in Karlsruhe, October 23-24, 2018. ...

Xamarin.Forms Notes for Professionals

Download free course Xamarin.Forms Notes for Professionals, pdf file on 181 pages by Stack Overflow Community....