The Little Book of Semaphores

The Little Book of Semaphores is a free (in both senses of the word) 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 w...

Full description

Saved in:
Bibliographic Details
Main Author: Downey, Allen B. (Author)
Format: Electronic eBook
Language:English
Published: [Place of publication not identified] Green Tea Press [2016]
Series:Open textbook library.
Subjects:
Online Access:Access online version
Tags: Add Tag
No Tags, Be the first to tag this record!

MARC

LEADER 00000nam a2200000 i 4500
001 OTLid0000083
003 MnU
005 20240122145216.0
006 m o d s
007 cr
008 180907s2016 mnu o 0 0 eng d
040 |a MnU  |b eng  |c MnU 
050 4 |a QA76 
100 1 |a Downey, Allen B.  |e author 
245 0 4 |a The Little Book of Semaphores  |c Allen Downey 
264 2 |a Minneapolis, MN  |b Open Textbook Library 
264 1 |a [Place of publication not identified]  |b Green Tea Press  |c [2016] 
264 4 |c ©2016. 
300 |a 1 online resource 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
490 0 |a Open textbook library. 
505 0 |a 1 Introduction -- 2 Semaphores -- 3 Basic synchronization patterns -- 4 Classical synchronization problems -- 5 Less classical synchronization problems -- 6 Not-so-classical problems -- 7 Not remotely classical problems -- 8 Synchronization in Python -- 9 Synchronization in C -- A Cleaning up Python threads -- B Cleaning up POSIX threads 
520 0 |a The Little Book of Semaphores is a free (in both senses of the word) 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. 
542 1 |f Attribution-NonCommercial-ShareAlike 
546 |a In English. 
588 0 |a Description based on print resource 
650 0 |a Computer Science  |v Textbooks 
710 2 |a Open Textbook Library  |e distributor 
856 4 0 |u https://open.umn.edu/opentextbooks/textbooks/83  |z Access online version