- 出版社: Createspace Independent Pub; 2 (2009年3月20日)
- 平装: 279页
- 语种： 英语
- ISBN: 1441418687
- 条形码: 9781441418685
- 商品尺寸: 20.3 x 1.7 x 25.4 cm
- 商品重量: 585 g
- ASIN: 1441418687
- 用户评分: 分享我的评价
The Little Book of Semaphores: The Ins and Outs of Concurrency Control and Common Mistakes (英语) 平装 – 2009年3月20日
The Little Book of Semaphores is a 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. *** Published under the terms of the GNU Free Documentation License. Money raised from the sale of this book supports the development of free software and documentation.
|5 星 (0%)|
|4 星 (0%)|
|3 星 (0%)|
|2 星 (0%)|
|1 星 (0%)|
It shows why one needs concurrency control and it gives algorithms for developing concurrency control.
The book is organized as a set of problems with solutions. The exercises really stretch one's brain and doing them will make one a better programmer.
The exercises have hints for their solution.
Modern computing is parallel computing. The multi-core machines of today require parallel algorithms to exploit their power. This book is a fun place to start.
This book shows that thinking about algorithms need not be drudge work but can be fun and intellectually stimulating as well as practical.
This book teaches how to think about multithreaded execution and how to solve synchronization problems. I highly recommend it, especially if you're self-taught and have never had an Operating Systems course. This book leads the reader step by step through a series of classical and not so classical synchronization problems. It's great fun to work through the problems and I've been recommending it to everyone ever since I found it.
I've placed this book #2 in my all time Top 100 Favorite Programming, Computer and Science book list: