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

Cloud Native Applications

Download free course Cloud Native Applications, pdf file on 120 pages by Michael Wittig, Andreas Wittig....

Notes on Diffy Qs: Differential Equations for Engineers

An introductory course on differential equations aimed at engineers. The book covers first order ODEs, higher order linear ODEs, systems of ODEs, Fourier series and PDEs, eigenvalue problems, the Laplace transform, and power series methods. The book originated as class notes for Math 286 at the Univ...

Beginners guide to Adobe Photoshop

Welcome to the complete beginners guide to Adobe Photoshop.It's a free PDF file under 44 pages by TastyTuts....

Access Control and internet Filtering

Looking for an insightful guide to the growing trend of internet filtering, censorship, and online surveillance around the world? Look no further than Access Controlled, a free 635-page PDF file offered by MIT Press....

Applied Psychology: On The Driving Power Of Thought And The Habits You Must Attain for Unbounded Personal and Business Success

This book is a classic psychology essay that explains why a successful business man in his eighties still wakes up early and reads the papers. It is a matter of developing good habits that makes people successful. This book will teach you how to develop the habits that lead to success....

Seeing Theory

Download free course Seeing Theory, pdf file on 66 pages by Daniel Kunin, Jingru Guo, Tyler Dae Devlin, Daniel Xiang....

iOS App Reverse Engineering

This book is the world's first book of very detailed iOS App reverse engineering skills, targeting 4 kinds of readers:...

Gameplay, Emotions and Narrative

Download free course Gameplay, Emotions and Narrative, pdf file on 325 pages by Katarzyna Marak, Mi Markocki, Dariusz Brzostek....

The Little Go Book

Download free course The Little Go Book, pdf file on 84 pages by Karl Seguin....

Rethinking Productivity in Software Engineering

Download free course Rethinking Productivity in Software Engineering, pdf file on 310 pages by Caitlin Sadowski, Thomas Zimmermann....