The Little Book of Semaphores



Bookstore > Books > The Little Book of Semaphores

The Little Book of Semaphores

Free Download
eBookFree
Rating
AuthorAllen Downey
PublisherGreen Tea Press
Published2016
Pages291
LanguageEnglish
FormatPaper book / ebook (PDF)
EBook Hardcover Paperback

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.


  1. (9 books)


Similar Books


Big Book of Windows Hacks

Big Book of Windows Hacks

by Preston Gralla

Bigger, better and broader in scope, the Big Book of Windows Hacks gives you everything you need to get the most out of your Windows Vista or XP system, including its related applications and the hardware it runs on or connects to. This book takes you beyond the operating system with hacks for applications like Internet Explorer 7 and Off...

Price:  $3.25  |  Publisher:  O'Reilly Media  |  Release:  2007

The Recursive Book of Recursion

The Recursive Book of Recursion

by Al Sweigart

Recursion has an intimidating reputation: it's considered to be an advanced computer science topic frequently brought up in coding interviews. But there's nothing magical about recursion. The Recursive Book of Recursion uses Python and JavaScript examples to teach the basics of recursion, exposing the ways that it's often p...

Price:  $29.74  |  Publisher:  No Starch Press  |  Release:  2022

The Little Book on CoffeeScript

The Little Book on CoffeeScript

by Alex MacCaw

This little book shows JavaScript developers how to build superb web applications with CoffeeScript, the remarkable little language that's gaining considerable interest. Through example code, this guide demonstrates how CoffeeScript abstracts JavaScript, providing syntactical sugar and preventing many common errors. You'll learn...

Price:  $7.99  |  Publisher:  O'Reilly Media  |  Release:  2012

The little book about OS development

The little book about OS development

by Erik Helin, Adam Renberg

The OS kernel and this book were produced as part of an advanced individual course at the Royal Institute of Technology, Stockholm. The authors had previously taken courses in OS theory, but had only minor practical experience with OS kernel development. In order to get more insight and a deeper understanding of how the theory from the pr...

Free ebook  |  Publisher:  Self-publishing  |  Release:  2015

The DAM Book, 2nd Edition

The DAM Book, 2nd Edition

by Peter Krogh

One of the main concerns for digital photographers today is asset management: how to file, find, protect, and re-use their photos. The best solutions can be found in The DAM Book, our bestselling guide to managing digital images efficiently and effectively.Anyone who shoots, scans, or stores digital photographs is practicing digital asset...

Price:  $11.46  |  Publisher:  O'Reilly Media  |  Release:  2013

The Book of Qt 4

The Book of Qt 4

by Daniel Molkentin

Cross-platform development is a kind of holy grail, and Trolltech's Qt toolkit may well be the most promising solution yet to this development challenge. Qt is widely used for the development of GUI applications as well as console tools and servers, and it's especially appealing to programmers who need to write cross-platform ap...

Price:  $10.71  |  Publisher:  No Starch Press  |  Release:  2007

The Book of PF, 2nd Edition

The Book of PF, 2nd Edition

by Peter N.M. Hansteen

OpenBSD's stateful packet filter, PF, is the heart of the OpenBSD firewall and a necessity for any admin working in a BSD environment. With a little effort and this book, you'll gain the insight needed to unlock PF's full potential.This 2nd edition of The Book of PF has been completely updated and revised. Based on Peter N....

Price:  $151.26  |  Publisher:  No Starch Press  |  Release:  2010

The Book of CSS3

The Book of CSS3

by Peter Gasston

CSS3 is the technology behind most of the eye-catching visuals on the Web today, but the official documentation can be dry and hard to follow. Luckily, The Book of CSS3 distills the heady technical language of the CSS3 specification into plain English, so you can get started on your next project right away.With real-world examples and a f...

Price:  $7.85  |  Publisher:  No Starch Press  |  Release:  2011