The Little Book of Semaphores


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.
Download free tutorial in PDF (291 pages) created by .
Pages291
Size
File typeHTML
Downloads290
Created2021-05-15
LicenseFree
Cover of The Little Book of Semaphores

Download

  • Microsoft Dynamics NAV Administration

    Microsoft Dynamics NAV is an Enterprise Resource Planning (ERP) software product that inte..., download free NAV Administration tutorial in PDF (190 pages) created by Amit Sachdev ....

  • Cracking Passwords Guide

    This tutorial is for people who want to learn to the how and why of password cracking. There is a lot of information being presented and you should READ IT ALL BEFORE you attempted doing anything documented here....

  • Migrating to Cloud-Native Application Architectures

    Download free course Migrating to Cloud-Native Application Architectures, pdf file on 58 pages by Matt Stine....

  • Crypto 101

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

  • Photoshop CS5 : Scripting guide

    Download free Scripting Adobe Photoshop tutorial in PDF , a complete guide under 87 pages designated to intermediate level-users....

  • The Haskell School of Music

    Download free course The Haskell School of Music, pdf file on 441 pages by Paul Hudak, Donya Quick....

  • Composing Software: An Exploration of Functional Programming and Object Composition in JavaScript

    All software design is composition: the act of breaking complex problems down into smaller problems and composing those solutions. Most developers have a limited understanding of compositional techniques. It's time for that to change....

  • Raspberry Pi Projects Book, Volume 5

    The Raspberry Pi is loved the world over by educators and makers thanks to its tiny size a..., download free Raspberry Pi tutorial in PDF (200 pages) created by Wes Archer ....

  • Think Complexity: Complexity Science and Computational Modeling, 2nd Edition

    This book is about complexity science, data structures and algorithms, intermediate programming in Python, and the philosophy of science. ...

  • Introductory Statistics

    This book follows the scope and sequence of a one-semester, introduction to statistics course and is geared toward students majoring in fields other than math or engineering. This text assumes students have been exposed to intermediate algebra, and it focuses on the applications of statistical know...